mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-26 12:48:16 +00:00
Fix to make EGA sprites appear correctly
svn-id: r30140
This commit is contained in:
parent
b2d2bd6f2d
commit
3b658492f5
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user