From 628e54cfe82ac08c19454725f32cab47b6643792 Mon Sep 17 00:00:00 2001 From: Wanne Date: Tue, 3 Apr 2012 08:44:51 +0000 Subject: [PATCH] - Temporary disabled the call to the PopulateSectionFromCommandLine() method, because the game crashes in a build when trying to debug directly from any VS by pressing F5 git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5149 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- Standard Gaming Platform/sgp.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Standard Gaming Platform/sgp.cpp b/Standard Gaming Platform/sgp.cpp index b9c30e304..8e865312d 100644 --- a/Standard Gaming Platform/sgp.cpp +++ b/Standard Gaming Platform/sgp.cpp @@ -1397,7 +1397,9 @@ void GetRuntimeSettings( ) #else vfs::PropertyContainer oProps; oProps.initFromIniFile(GAME_INI_FILE); - PopulateSectionFromCommandLine(oProps, "Ja2 Settings"); + + // WANNE: @tazpn: Disabled the method, because when I run a debug version directly from any VS (by pressing F5) the game crashes in the method. + //PopulateSectionFromCommandLine(oProps, "Ja2 Settings"); #endif #ifndef USE_VFS