Browse Source

Fix Golem check (again)

pull/922/head^2
Anders Jenbo 5 years ago committed by GitHub
parent
commit
3d2707b40e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Source/monster.cpp

2
Source/monster.cpp

@ -1763,7 +1763,7 @@ void M2MStartHit(int mid, int i, int dam)
assurance((DWORD)mid < MAXMONSTERS, mid);
assurance(monster[mid].MType != NULL, mid);
if (i >= 0 && i <= MAX_PLRS)
if (i >= 0 && i < MAX_PLRS)
monster[mid].mWhoHit |= 1 << i;
delta_monster_hp(mid, monster[mid]._mhitpoints, currlevel);

Loading…
Cancel
Save