From c5ca865a7f3ea40730e2914df159241865feda37 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 24 Jan 2009 00:21:12 +0000 Subject: [PATCH] - Fixed: The sight checking code didn't initialize the myseethrough variable. SVN r1363 (trunk) --- docs/rh-log.txt | 1 + src/p_sight.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/rh-log.txt b/docs/rh-log.txt index 485ff6ab05..da3473894d 100644 --- a/docs/rh-log.txt +++ b/docs/rh-log.txt @@ -1,4 +1,5 @@ January 24, 2009 (Changes by Graf Zahl) +- Fixed: The sight checking code didn't initialize the myseethrough variable. - Fixed: With COMPAT_TRACE switched on linedef actions on lines having the same sector on both sides were not triggered. diff --git a/src/p_sight.cpp b/src/p_sight.cpp index 19a5e68ef0..2e0282213b 100644 --- a/src/p_sight.cpp +++ b/src/p_sight.cpp @@ -76,6 +76,7 @@ public: SeePastBlockEverything = flags & 6; SeePastShootableLines = flags & 4; + myseethrough = FF_SEETHROUGH; } };