shithub: choc

Download patch

ref: 07d86dc88838a3653f5a4b9fc07663bcab906958
parent: 15201415b824c3bc80bdaceeedab3f5002e8a905
author: Jason Benaim <[email protected]>
date: Sat Dec 1 19:41:27 EST 2018

format fussing

--- a/src/doom/p_enemy.c
+++ b/src/doom/p_enemy.c
@@ -1909,9 +1909,9 @@
 		
     // shoot a cube at current target
     targ = braintargets[braintargeton];
-    if (numbraintargets == 0) {
+    if (numbraintargets == 0)
+    {
         I_Error("A_BrainSpit: numbraintargets was 0 (vanilla crashes here)");
-        return;
     }
     braintargeton = (braintargeton+1)%numbraintargets;