Browse Source

🐛 Fix Zhar state not being set when triggered

Instead the first players golem was reset
pull/2379/head
Anders Jenbo 5 years ago
parent
commit
e140a2e9ca
  1. 2
      Source/objects.cpp

2
Source/objects.cpp

@ -4430,7 +4430,7 @@ void OperateBookCase(int pnum, int i, bool sendmsg)
&& zhar._msquelch == UINT8_MAX
&& zhar._mhitpoints > 0) {
zhar.mtalkmsg = TEXT_ZHAR2;
M_StartStand(Monsters[0], zhar._mdir); // BUGFIX: first parameter in call to M_StartStand should be MAX_PLRS, not 0.
M_StartStand(zhar, zhar._mdir); // BUGFIX: first parameter in call to M_StartStand should be MAX_PLRS, not 0. (fixed)
zhar._mgoal = MGOAL_ATTACK2;
zhar._mmode = MM_TALK;
}

Loading…
Cancel
Save