summaryrefslogtreecommitdiff
path: root/src/p_enemy.c
diff options
context:
space:
mode:
authorSimon Howard2007-09-15 17:09:47 +0000
committerSimon Howard2007-09-15 17:09:47 +0000
commit17aa4ae92a3f5c8868c251eb14a1cb60800c0da6 (patch)
tree76c75da80a42b7029c8e7810b09795ea711887a9 /src/p_enemy.c
parent7994c9e7e6d8a6f68c8841c65db3f981d1c3ccf2 (diff)
downloadchocolate-doom-17aa4ae92a3f5c8868c251eb14a1cb60800c0da6.tar.gz
chocolate-doom-17aa4ae92a3f5c8868c251eb14a1cb60800c0da6.tar.bz2
chocolate-doom-17aa4ae92a3f5c8868c251eb14a1cb60800c0da6.zip
Fix desyncs caused by previous change to A_Explode.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 974
Diffstat (limited to 'src/p_enemy.c')
-rw-r--r--src/p_enemy.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/p_enemy.c b/src/p_enemy.c
index 16d2ff06..4729dbc5 100644
--- a/src/p_enemy.c
+++ b/src/p_enemy.c
@@ -1609,11 +1609,7 @@ void A_Fall (mobj_t *actor)
//
void A_Explode (mobj_t* thingy)
{
- mobj_t *target;
-
- target = P_SubstNullMobj(thingy->target);
-
- P_RadiusAttack(thingy, target, 128);
+ P_RadiusAttack(thingy, thingy->target, 128);
}