Browse Source

Clean up AiDelay

pull/2374/head
Anders Jenbo 5 years ago
parent
commit
43aec8cecc
  1. 8
      Source/monster.cpp

8
Source/monster.cpp

@ -904,10 +904,12 @@ void AiDelay(int i, int len)
return; return;
} }
if (Monsters[i]._mAi != AI_LAZARUS) { if (Monsters[i]._mAi == AI_LAZARUS) {
Monsters[i]._mVar2 = len; return;
Monsters[i]._mmode = MM_DELAY;
} }
Monsters[i]._mVar2 = len;
Monsters[i]._mmode = MM_DELAY;
} }
Direction GetMonsterDirection(int i) Direction GetMonsterDirection(int i)

Loading…
Cancel
Save