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/map.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/map.cpp')
-rw-r--r-- | engines/xeen/map.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/xeen/map.cpp b/engines/xeen/map.cpp index c286d2a7c3..ca17ba04aa 100644 --- a/engines/xeen/map.cpp +++ b/engines/xeen/map.cpp @@ -604,7 +604,7 @@ void AnimationInfo::load(const Common::String &name) { /*------------------------------------------------------------------------*/ Map::Map(XeenEngine *vm) : _vm(vm), _mobData(vm) { - _loadDarkSide = false; + _loadCcNum = 0; _sideTownPortal = 0; _sideObjects = 0; _sideMonsters = 0; @@ -648,7 +648,7 @@ void Map::load(int mapId) { if (mapId >= 113 && mapId <= 127) { _sideTownPortal = 0; } else { - _sideTownPortal = _loadDarkSide ? 1 : 0; + _sideTownPortal = _loadCcNum; } if (_vm->getGameID() == GType_Swords || _vm->getGameID() == GType_DarkSide) { @@ -662,7 +662,7 @@ void Map::load(int mapId) { } else if (_vm->getGameID() == GType_WorldOfXeen) { files.setGameCc(1); - if (!_loadDarkSide) { + if (!_loadCcNum) { _animationInfo.load("clouds.dat"); _monsterData.load("xeen.mon"); _wallPicSprites.load("xeenpic.dat"); @@ -709,7 +709,7 @@ void Map::load(int mapId) { } } - files.setGameCc(_loadDarkSide); + files.setGameCc(_loadCcNum); } // Load any events for the new map |