diff options
author | Gregory Montoir | 2008-09-29 20:08:26 +0000 |
---|---|---|
committer | Gregory Montoir | 2008-09-29 20:08:26 +0000 |
commit | 579b4b55c86c1933442f484bafb3fbb0a32e9a37 (patch) | |
tree | 05d131e6045839e525192bd7e0ad62eb2ef52818 /engines/scumm | |
parent | cb4caae8eb20f81a6df89d1f1a11b583049409f4 (diff) | |
download | scummvm-rg350-579b4b55c86c1933442f484bafb3fbb0a32e9a37.tar.gz scummvm-rg350-579b4b55c86c1933442f484bafb3fbb0a32e9a37.tar.bz2 scummvm-rg350-579b4b55c86c1933442f484bafb3fbb0a32e9a37.zip |
restrict _heXmapNum to HE versions, should fix #2135822
svn-id: r34688
Diffstat (limited to 'engines/scumm')
-rw-r--r-- | engines/scumm/actor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/actor.cpp b/engines/scumm/actor.cpp index b2bb8be9c9..1ea0da86d8 100644 --- a/engines/scumm/actor.cpp +++ b/engines/scumm/actor.cpp @@ -1475,7 +1475,7 @@ void Actor::prepareDrawActorCostume(BaseCostumeRenderer *bcr) { bcr->_shadow_table = _vm->_shadowPalette; } - bcr->setCostume(_costume, _heXmapNum); + bcr->setCostume(_costume, (_vm->_game.heversion == 0) ? 0 : _heXmapNum); bcr->setPalette(_palette); bcr->setFacing(this); |