Browse Source

golems, dont fight each other

pull/1602/head
qndel 5 years ago committed by Anders Jenbo
parent
commit
202ac36a52
  1. 3
      Source/monster.cpp

3
Source/monster.cpp

@ -1356,6 +1356,9 @@ void M_Enemy(int i)
continue;
if (M_Talker(mi) && monster[mi].mtalkmsg)
continue;
if ((Monst->_mFlags & MFLAG_GOLEM) && (monster[mi]._mFlags & MFLAG_GOLEM)) // prevent golems from fighting each other
continue;
dist = std::max(abs(monster[mi]._mx - Monst->_mx), abs(monster[mi]._my - Monst->_my));
if ((!(Monst->_mFlags & MFLAG_GOLEM)
&& !(Monst->_mFlags & MFLAG_BERSERK)

Loading…
Cancel
Save