mirror of
https://github.com/yquake2/xatrix.git
synced 2025-02-24 04:41:58 +00:00
Fix logic bug (found by caedes and his compiler)
This commit is contained in:
parent
2ec2e183a0
commit
f29e0c6ca6
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue