mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
SAGA: Fix placard color in ITE ECS
This commit is contained in:
parent
73f04a31ab
commit
8b2019707d
@ -1086,7 +1086,7 @@ void Script::sfPlacard(SCRIPTFUNC_PARAMS) {
|
||||
event.type = kEvTOneshot;
|
||||
event.code = kGraphicsEvent;
|
||||
event.op = kEventFillRect;
|
||||
event.param = kITEDOSColorDarkBlue8a;
|
||||
event.param = _vm->isECS() ? 31 : kITEDOSColorDarkBlue8a;
|
||||
event.param2 = 0;
|
||||
event.param3 = _vm->_scene->getHeight();
|
||||
event.param4 = 0;
|
||||
@ -1123,6 +1123,11 @@ void Script::sfPlacard(SCRIPTFUNC_PARAMS) {
|
||||
event.op = kEventBlackToPal;
|
||||
event.time = 0;
|
||||
event.duration = kNormalFadeDuration;
|
||||
if (_vm->isECS()) {
|
||||
pal[31].red = 0;
|
||||
pal[31].green = 0x4b;
|
||||
pal[31].blue = 0x97;
|
||||
}
|
||||
event.data = pal;
|
||||
_vm->_events->chain(eventColumns, event);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user