shithub: choc

Download patch

ref: 75e015315b0caa88e7fc972171eb458d2ea2311c
parent: 9808c01f6aa0a2719c9bf39f18e354ae1d435a38
author: Simon Howard <fraggle@soulsphere.org>
date: Tue Jul 28 18:37:11 EDT 2015

doom: Fix formatting in ST_Responder().

Last merge had wrong indenting.

--- a/src/doom/st_stuff.c
+++ b/src/doom/st_stuff.c
@@ -619,20 +619,19 @@
 	epsd = buf[0] - '0';
 	map = buf[1] - '0';
 
-    // Chex.exe always warps to episode 1.
+        // Chex.exe always warps to episode 1.
 
-    if (gameversion == exe_chex)
-    {
-        if (epsd > 1)
+        if (gameversion == exe_chex)
         {
-            epsd = 1;
+            if (epsd > 1)
+            {
+                epsd = 1;
+            }
+            if (map > 5)
+            {
+                map = 5;
+            }
         }
-        if (map > 5)
-        {
-            map = 5;
-        }
-    }
-
       }
 
       // Catch invalid maps.