- eliminated the two global FraggleScript variables by moving them into DFraggleThinker.
This commit is contained in:
parent
496dd4ee68
commit
f31b1b92c9
9 changed files with 27 additions and 69 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue