compile fix

This commit is contained in:
toasterbabe 2017-03-17 23:09:15 +00:00
parent 8903a0e185
commit b66ded844e

View file

@ -3965,7 +3965,7 @@ void P_DestroyRobots(void)
continue; // not a mobj thinker continue; // not a mobj thinker
mo = (mobj_t *)think; mo = (mobj_t *)think;
if (mo->health <= 0 || !(mo->flags & MF_ENEMY || mo->flags & MF_BOSS)) if (mo->health <= 0 || !(mo->flags & (MF_ENEMY|MF_BOSS)))
continue; // not a valid enemy continue; // not a valid enemy
if (mo->type == MT_PLAYER) // Don't chase after other players! if (mo->type == MT_PLAYER) // Don't chase after other players!