Skip to content

Commit

Permalink
XEEN: Fix loading correct sprites for wall items
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Dec 17, 2017
1 parent 92dc973 commit 56642f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/xeen/map.cpp
Expand Up @@ -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);
}
Expand Down

0 comments on commit 56642f2

Please sign in to comment.