diff options
author | Paul Gilbert | 2018-03-27 21:45:17 -0400 |
---|---|---|
committer | Paul Gilbert | 2018-03-27 21:45:17 -0400 |
commit | 5b5abd47434c3d0680f7ca7df7eb6f7291dc4599 (patch) | |
tree | 89a582038782258b4a75c9f20e684b2f29e52f83 /engines/xeen/debugger.cpp | |
parent | 0fe261048f0710061cfca019d10b27751d804506 (diff) | |
download | scummvm-rg350-5b5abd47434c3d0680f7ca7df7eb6f7291dc4599.tar.gz scummvm-rg350-5b5abd47434c3d0680f7ca7df7eb6f7291dc4599.tar.bz2 scummvm-rg350-5b5abd47434c3d0680f7ca7df7eb6f7291dc4599.zip |
XEEN: Change Map _loadDarkSide bool to int _loadCcNum
Diffstat (limited to 'engines/xeen/debugger.cpp')
-rw-r--r-- | engines/xeen/debugger.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/xeen/debugger.cpp b/engines/xeen/debugger.cpp index d5f1b40d29..bd6c8ad142 100644 --- a/engines/xeen/debugger.cpp +++ b/engines/xeen/debugger.cpp @@ -169,11 +169,11 @@ bool Debugger::cmdMap(int argc, const char **argv) { return true; } else { int mapId = strToInt(argv[1]); - bool side = argc < 3 ? files._ccNum : strToInt(argv[2]) != 0; + int side = argc < 3 ? files._ccNum : strToInt(argv[2]); int x = argc < 4 ? 8 : strToInt(argv[3]); int y = argc < 5 ? 8 : strToInt(argv[4]); - map._loadDarkSide = side; + map._loadCcNum = side; map.load(mapId); party._mazePosition.x = x; party._mazePosition.y = y; |