diff options
author | Max Horn | 2004-12-25 19:04:18 +0000 |
---|---|---|
committer | Max Horn | 2004-12-25 19:04:18 +0000 |
commit | d6872dba6b6b4c4dafbd411bf4b0651b7d01edce (patch) | |
tree | 6ca2a72c16b2b298d89e708ddd049d2f9f352c17 /simon/simon.cpp | |
parent | 2941d595bd18d9a64e33b20658e007709db9afda (diff) | |
download | scummvm-rg350-d6872dba6b6b4c4dafbd411bf4b0651b7d01edce.tar.gz scummvm-rg350-d6872dba6b6b4c4dafbd411bf4b0651b7d01edce.tar.bz2 scummvm-rg350-d6872dba6b6b4c4dafbd411bf4b0651b7d01edce.zip |
Get rid of g_debugLevel (this fixes bug #1091142)
svn-id: r16318
Diffstat (limited to 'simon/simon.cpp')
-rw-r--r-- | simon/simon.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp index 58cc7b9103..61feee10ba 100644 --- a/simon/simon.cpp +++ b/simon/simon.cpp @@ -45,8 +45,6 @@ #include "globals.h" #endif -extern uint16 g_debugLevel; - struct SimonGameSettings { const char *name; const char *description; @@ -4004,13 +4002,13 @@ int SimonEngine::go() { _continous_vgascript = false; _draw_images_debug=false; - if (g_debugLevel == 2) + if (ConfMan.getInt("debuglevel") == 2) _continous_mainscript = true; - if (g_debugLevel == 3) + if (ConfMan.getInt("debuglevel") == 3) _continous_vgascript = true; - if (g_debugLevel == 4) + if (ConfMan.getInt("debuglevel") == 4) _start_mainscript = true; - if (g_debugLevel == 5) + if (ConfMan.getInt("debuglevel") == 5) _start_vgascript = true; if (_game & GF_TALKIE) { |