diff options
author | Paul Gilbert | 2017-12-17 17:46:36 -0500 |
---|---|---|
committer | Paul Gilbert | 2017-12-17 17:46:36 -0500 |
commit | 56642f213a73cc7dd3164bd24632636e4b507a04 (patch) | |
tree | 5353346a334e193ee40491f7d019ea13e1e79ed9 /engines/xeen | |
parent | 92dc9737c5a730153370a48060ce8848516f6cae (diff) | |
download | scummvm-rg350-56642f213a73cc7dd3164bd24632636e4b507a04.tar.gz scummvm-rg350-56642f213a73cc7dd3164bd24632636e4b507a04.tar.bz2 scummvm-rg350-56642f213a73cc7dd3164bd24632636e4b507a04.zip |
XEEN: Fix loading correct sprites for wall items
Diffstat (limited to 'engines/xeen')
-rw-r--r-- | engines/xeen/map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/map.cpp b/engines/xeen/map.cpp index 3417db839a..f0c9b57802 100644 --- a/engines/xeen/map.cpp +++ b/engines/xeen/map.cpp @@ -1151,7 +1151,7 @@ void Map::load(int mapId) { // Load wall picture sprite resources for (uint i = 0; i < _mobData._wallItemSprites.size(); ++i) { - filename = Common::String::format("%03d.pic", _mobData._wallItems[i]._spriteId); + filename = Common::String::format("%03d.pic", _mobData._wallItemSprites[i]._spriteId); _mobData._wallItemSprites[i]._sprites.load(filename, _sidePictures ? ALTSIDE_ARCHIVE : GAME_ARCHIVE); } |