Browse Source

Update monster.cpp

pull/4/head
galaxyhaxz 8 years ago committed by GitHub
parent
commit
f49117c95a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Source/monster.cpp

2
Source/monster.cpp

@ -7512,7 +7512,7 @@ void __cdecl ProcessMonsters()
if ( v11 )
{
v16 = monster[v1]._msquelch;
if ( v16 && monster[v1]._mAi != MT_DIABLO ) /* BUG_FIX: change '_mAi' to 'MType->mtype' */
if ( v16 && monster[v1]._mAi != MT_DIABLO ) /// BUGFIX: test `MT_DIABLO` with 'MType->mtype' instead of '_mAi'
monster[v1]._msquelch = v16 - 1;
}
else

Loading…
Cancel
Save