diff options
author | Paul Gilbert | 2015-01-16 22:31:27 -0500 |
---|---|---|
committer | Paul Gilbert | 2015-01-16 22:31:27 -0500 |
commit | e0305aa9d94b44aa7d1061e0782f071181f7f7e7 (patch) | |
tree | 1a58d091908b5668fa813ee9d17b7920a32d528c | |
parent | d37e3d6e747877187fe6c1179070f666f9bbb778 (diff) | |
download | scummvm-rg350-e0305aa9d94b44aa7d1061e0782f071181f7f7e7.tar.gz scummvm-rg350-e0305aa9d94b44aa7d1061e0782f071181f7f7e7.tar.bz2 scummvm-rg350-e0305aa9d94b44aa7d1061e0782f071181f7f7e7.zip |
XEEN: Fix loading correct monster sprites
-rw-r--r-- | engines/xeen/map.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/xeen/map.cpp b/engines/xeen/map.cpp index 6bd1ed09ba..3e4139628e 100644 --- a/engines/xeen/map.cpp +++ b/engines/xeen/map.cpp @@ -1045,10 +1045,10 @@ void Map::load(int mapId) { // Load sprites for the monsters for (uint i = 0; i < _mobData._monsterSprites.size(); ++i) { - filename = Common::String::format("%03d.mon", _mobData._objectSprites[i]._spriteId); + filename = Common::String::format("%03d.mon", _mobData._monsterSprites[i]._spriteId); _mobData._monsterSprites[i]._sprites.load(filename); - filename = Common::String::format("%03d.att", _mobData._objectSprites[i]._spriteId); + filename = Common::String::format("%03d.att", _mobData._monsterSprites[i]._spriteId); _mobData._monsterSprites[i]._attackSprites.load(filename); } |