shithub: choc

Download patch

ref: 17aa4ae92a3f5c8868c251eb14a1cb60800c0da6
parent: 7994c9e7e6d8a6f68c8841c65db3f981d1c3ccf2
author: Simon Howard <fraggle@gmail.com>
date: Sat Sep 15 13:09:47 EDT 2007

Fix desyncs caused by previous change to A_Explode.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 974

--- a/src/p_enemy.c
+++ b/src/p_enemy.c
@@ -1609,11 +1609,7 @@
 //
 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);
 }