From 5ed75550d6e7f0ea64d44146e1c3d023c497e8b7 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 5 Sep 2003 22:22:59 +0000 Subject: init value of _amiga to false svn-id: r10024 --- common/gameDetector.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'common') diff --git a/common/gameDetector.cpp b/common/gameDetector.cpp index d918169b5a..5daae56fa5 100644 --- a/common/gameDetector.cpp +++ b/common/gameDetector.cpp @@ -173,6 +173,7 @@ GameDetector::GameDetector() { _master_volume = kDefaultMasterVolume; _music_volume = kDefaultMusicVolume; _sfx_volume = kDefaultSFXVolume; + _amiga = false; _platform = 0; _language = 0; @@ -587,12 +588,12 @@ void GameDetector::setGame(const String &name) { // The command line and launcher options // override config file global and game-specific options. - g_config->set_domain ("_COMMAND_LINE"); + g_config->set_domain("_COMMAND_LINE"); updateconfig(); - g_config->set_domain ("_USER_OVERRIDES"); + g_config->set_domain("_USER_OVERRIDES"); updateconfig(); - g_config->delete_domain ("_COMMAND_LINE"); - g_config->delete_domain ("_USER_OVERRIDES"); + g_config->delete_domain("_COMMAND_LINE"); + g_config->delete_domain("_USER_OVERRIDES"); g_config->set_domain(name); if (_debugMode) debug(1, "Debuglevel (from config): %d", _debugLevel); -- cgit v1.2.3