aboutsummaryrefslogtreecommitdiff
path: root/engines/lure
diff options
context:
space:
mode:
authorPaul Gilbert2008-01-02 07:14:02 +0000
committerPaul Gilbert2008-01-02 07:14:02 +0000
commit3b658492f5dfd7fffcfe559b3be58ef1be0a9436 (patch)
tree9633caf74a7ba8e25fbe771a08c0336a8fcbe591 /engines/lure
parentb2d2bd6f2d4e33ffe545046540a386253d43f8b3 (diff)
downloadscummvm-rg350-3b658492f5dfd7fffcfe559b3be58ef1be0a9436.tar.gz
scummvm-rg350-3b658492f5dfd7fffcfe559b3be58ef1be0a9436.tar.bz2
scummvm-rg350-3b658492f5dfd7fffcfe559b3be58ef1be0a9436.zip
Fix to make EGA sprites appear correctly
svn-id: r30140
Diffstat (limited to 'engines/lure')
-rw-r--r--engines/lure/hotspots.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/lure/hotspots.cpp b/engines/lure/hotspots.cpp
index 97a641e2e6..6ca7fdcc1a 100644
--- a/engines/lure/hotspots.cpp
+++ b/engines/lure/hotspots.cpp
@@ -43,6 +43,7 @@ namespace Lure {
Hotspot::Hotspot(HotspotData *res): _pathFinder(this) {
Resources &resources = Resources::getReference();
+ bool isEGA = LureEngine::getReference().isEGA();
_data = res;
_anim = NULL;
@@ -70,8 +71,8 @@ Hotspot::Hotspot(HotspotData *res): _pathFinder(this) {
_layer = res->layer;
_hotspotScriptOffset = res->hotspotScriptOffset;
_frameCtr = res->tickTimeout;
- _colourOffset = res->colourOffset;
_tempDest.counter = 0;
+ _colourOffset = isEGA ? 0 : res->colourOffset;
_override = resources.getHotspotOverride(res->hotspotId);
setAnimation(_data->animRecordId);