Browse Source

golem assert fix

pull/2820/head
qndel 5 years ago committed by Anders Jenbo
parent
commit
22ff664dee
  1. 2
      Source/monster.cpp

2
Source/monster.cpp

@ -4180,7 +4180,7 @@ void M_WalkDir(int i, Direction md)
void GolumAi(int i)
{
assert(i >= 0 && i < MAXMONSTERS);
assert(i >= 0 && i < MAX_PLRS);
auto &golem = Monsters[i];
if (golem.position.tile.x == 1 && golem.position.tile.y == 0) {

Loading…
Cancel
Save