diff options
author | Torbjörn Andersson | 2004-03-29 06:37:46 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2004-03-29 06:37:46 +0000 |
commit | bf10f5a616532efee386ba1a5a838736932adfa5 (patch) | |
tree | 6f5316fdd22e06c5a4534ae7a774579083700fcd /sword2/interpreter.cpp | |
parent | 6cb86c641ff52220aebd21e322a029c996beb99d (diff) | |
download | scummvm-rg350-bf10f5a616532efee386ba1a5a838736932adfa5.tar.gz scummvm-rg350-bf10f5a616532efee386ba1a5a838736932adfa5.tar.bz2 scummvm-rg350-bf10f5a616532efee386ba1a5a838736932adfa5.zip |
Cleanup.
This removes a bunch of debugging code/commands that either didn't do
anything useful under ScummVM (e.g. "soft" and "hard"), or which did things
that was already easily avaiable elsewhere (e.g. "save" and "restore").
I didn't have the heart to remove the "tony" command, though. :-)
svn-id: r13422
Diffstat (limited to 'sword2/interpreter.cpp')
-rw-r--r-- | sword2/interpreter.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sword2/interpreter.cpp b/sword2/interpreter.cpp index b12692e03c..151034a5ad 100644 --- a/sword2/interpreter.cpp +++ b/sword2/interpreter.cpp @@ -609,11 +609,9 @@ int Logic::runScript(char *scriptData, char *objectData, uint32 *offset) { case CP_DEBUGON: // Turn debugging on - _debugFlag = true; break; case CP_DEBUGOFF: - // Turn debugging on - _debugFlag = false; + // Turn debugging off break; case CP_TEMP_TEXT_PROCESS: // Process a text line |