aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/debugger.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2018-03-17 20:27:42 -0400
committerPaul Gilbert2018-03-17 20:27:42 -0400
commit22456b345f4b39558cfc07ccd2e06ab6cfb98850 (patch)
treebb0e31433f624843f6addd563db48726be68dbaf /engines/xeen/debugger.cpp
parent562522e14414db68b77595de84d856c39e6cf00d (diff)
downloadscummvm-rg350-22456b345f4b39558cfc07ccd2e06ab6cfb98850.tar.gz
scummvm-rg350-22456b345f4b39558cfc07ccd2e06ab6cfb98850.tar.bz2
scummvm-rg350-22456b345f4b39558cfc07ccd2e06ab6cfb98850.zip
XEEN: Change bool _isDarkCc to int _ccNum
Originally the flag was whether the party was on the Dark Side, but as a bool I was having to cast it to an int side/cc number in more and more places. So now I've converted it to _ccNum, and it can be used directly as an int
Diffstat (limited to 'engines/xeen/debugger.cpp')
-rw-r--r--engines/xeen/debugger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/debugger.cpp b/engines/xeen/debugger.cpp
index 42f61b02b5..32d0ce7f4c 100644
--- a/engines/xeen/debugger.cpp
+++ b/engines/xeen/debugger.cpp
@@ -169,7 +169,7 @@ bool Debugger::cmdMap(int argc, const char **argv) {
return true;
} else {
int mapId = strToInt(argv[1]);
- bool side = argc < 3 ? files._isDarkCc : strToInt(argv[2]) != 0;
+ bool side = argc < 3 ? files._ccNum : strToInt(argv[2]) != 0;
int x = argc < 4 ? 8 : strToInt(argv[3]);
int y = argc < 5 ? 8 : strToInt(argv[4]);