shithub: choc

Download patch

ref: 679c6753cb957a5cf8380450593da155224bc846
parent: b5a386fbca9d36c5c928d39e1938dc29752c5ad8
author: nukeykt <[email protected]>
date: Tue Jul 12 17:20:30 EDT 2016

strife: fix crash when graphical_startup is false

--- a/src/strife/d_main.c
+++ b/src/strife/d_main.c
@@ -1274,6 +1274,7 @@
     if (devparm || !graphical_startup || testcontrols)
     {
         using_text_startup = false;
+        showintro = false;
         return;
     }
 
@@ -1366,11 +1367,6 @@
     int laserpos;
     int robotpos;
     int i;
-
-    if (devparm || !graphical_startup || testcontrols)
-    {
-        return;
-    }
 
     if (showintro)
     {