diff options
author | Samuel Villareal | 2010-09-18 04:49:18 +0000 |
---|---|---|
committer | Samuel Villareal | 2010-09-18 04:49:18 +0000 |
commit | 0d531f6108e585d6ea718d8ea4aef9a7aa5b9c72 (patch) | |
tree | 299125bdd52bffdb88e77fcca5fcdffa8ea32f16 /src/strife | |
parent | fc6385246c666b4e9a58ce17cf68a76d06bf03a2 (diff) | |
download | chocolate-doom-0d531f6108e585d6ea718d8ea4aef9a7aa5b9c72.tar.gz chocolate-doom-0d531f6108e585d6ea718d8ea4aef9a7aa5b9c72.tar.bz2 chocolate-doom-0d531f6108e585d6ea718d8ea4aef9a7aa5b9c72.zip |
+ A_TeleportBeacon done
Subversion-branch: /branches/strife-branch
Subversion-revision: 2103
Diffstat (limited to 'src/strife')
-rw-r--r-- | src/strife/p_enemy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strife/p_enemy.c b/src/strife/p_enemy.c index d073e84f..ac7c57ea 100644 --- a/src/strife/p_enemy.c +++ b/src/strife/p_enemy.c @@ -3010,7 +3010,7 @@ void A_TeleportBeacon(mobj_t* actor) fog = P_SpawnMobj(fog_x, fog_y, mobj->z, MT_TFOG); S_StartSound(fog, sfx_telept); - if((actor->health--) - 1 < 0) + if(--actor->health < 0) P_RemoveMobj(actor); } |