Fix logic bug (found by caedes and his compiler)

This commit is contained in:
Yamagi Burmeister 2012-02-22 11:47:14 +00:00
parent 2ec2e183a0
commit f29e0c6ca6
2 changed files with 2 additions and 2 deletions

View file

@ -1053,7 +1053,7 @@ void heat_think (edict_t *self)
if (self->owner == target)
continue;
if (!target->svflags & SVF_MONSTER)
if (!(target->svflags & SVF_MONSTER))
continue;
if (!target->client)
continue;

View file

@ -1077,7 +1077,7 @@ void gekk_pain (edict_t *self, edict_t *other, float kick, int damage)
if (self->waterlevel)
{
if (!self->flags & FL_SWIM)
if (!(self->flags & FL_SWIM))
self->flags |= FL_SWIM;
self->monsterinfo.currentmove = &gekk_move_pain;