From e09d8d7cd9ce9bde1ea472e71bd488aad92a08c8 Mon Sep 17 00:00:00 2001 From: terminx Date: Tue, 25 Apr 2006 02:33:21 +0000 Subject: [PATCH] Yep git-svn-id: https://svn.eduke32.com/eduke32@111 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/config.c | 2 +- polymer/eduke32/source/game.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/polymer/eduke32/source/config.c b/polymer/eduke32/source/config.c index ff734bbd8..e83f252cd 100644 --- a/polymer/eduke32/source/config.c +++ b/polymer/eduke32/source/config.c @@ -82,7 +82,7 @@ int32 JoystickAnalogueSaturate[MAXJOYAXES]; // Screen variables // -int32 ScreenMode = 0; +int32 ScreenMode = 1; int32 ScreenWidth = 800; int32 ScreenHeight = 600; int32 ScreenBPP = 32; diff --git a/polymer/eduke32/source/game.c b/polymer/eduke32/source/game.c index 0c59569d1..16a279353 100644 --- a/polymer/eduke32/source/game.c +++ b/polymer/eduke32/source/game.c @@ -7977,13 +7977,15 @@ void loadtmb(void) void Shutdown( void ) { int i; + extern int32 scripthandle; SoundShutdown(); MusicShutdown(); uninittimer(); uninitengine(); CONTROL_Shutdown(); - CONFIG_WriteSetup(); + if (scripthandle) + CONFIG_WriteSetup(); KB_Shutdown(); for(i=0;i