- eliminated the two global FraggleScript variables by moving them into DFraggleThinker.

This commit is contained in:
Christoph Oelckers 2018-12-29 01:18:21 +01:00
commit f31b1b92c9
9 changed files with 27 additions and 69 deletions

View file

@ -619,7 +619,7 @@ void FBlockLinesIterator::StartBlock(int x, int y)
cury = y;
if (level.blockmap.isValidBlock(x, y))
{
int offset = y*level.blockmap.bmapwidth + x;
unsigned offset = y*level.blockmap.bmapwidth + x;
polyLink = level.PolyBlockMap.Size() > offset? level.PolyBlockMap[offset] : nullptr;
polyIndex = 0;