commit 679c6753cb957a5cf8380450593da155224bc846
Author: nukeykt <alexeytf2@icloud.com>
AuthorDate: Tue Jul 12 21:20:30 2016 +0900
Commit: nukeykt <alexeytf2@icloud.com>
CommitDate: Tue Jul 12 21:20:30 2016 +0900
strife: fix crash when graphical_startup is false
---
src/strife/d_main.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/src/strife/d_main.c b/src/strife/d_main.c
index f2fc7732..81ca74f9 100644
--- a/src/strife/d_main.c
+++ b/src/strife/d_main.c
@@ -1274,6 +1274,7 @@ static void D_InitIntroSequence(void)
if (devparm || !graphical_startup || testcontrols)
{
using_text_startup = false;
+ showintro = false;
return;
}
@@ -1367,11 +1368,6 @@ static void D_DrawIntroSequence(void)
int robotpos;
int i;
- if (devparm || !graphical_startup || testcontrols)
- {
- return;
- }
-
if (showintro)
{
D_IntroBackground(); // haleyjd: refresh the background