summaryrefslogtreecommitdiff
path: root/src/strife
diff options
context:
space:
mode:
authorSamuel Villareal2010-09-18 04:49:18 +0000
committerSamuel Villareal2010-09-18 04:49:18 +0000
commit0d531f6108e585d6ea718d8ea4aef9a7aa5b9c72 (patch)
tree299125bdd52bffdb88e77fcca5fcdffa8ea32f16 /src/strife
parentfc6385246c666b4e9a58ce17cf68a76d06bf03a2 (diff)
downloadchocolate-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.c2
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);
}