- fixed bad definition of FBlockThingsIterator.Next(). When implementing the BlockLinesIterator apparently some incorrect code got modified.

- fixed an uninitialized variable in P_CheckSight.
This commit is contained in:
Christoph Oelckers 2017-03-10 10:37:43 +01:00
commit 5b9fece062
2 changed files with 4 additions and 4 deletions

View file

@ -735,7 +735,7 @@ bool SightCheck::P_SightPathTraverse ()
// step through map blocks
// Count is present to prevent a round off error from skipping the break
int itres;
int itres = -1;
for (count = 0 ; count < 1000 ; count++)
{
// end traversing when reaching the end of the blockmap