mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-31 07:53:36 +00:00
DIRECTOR: set currentChannelId to 0 for script channel scripts.
This commit is contained in:
parent
13f5460ca4
commit
111726031d
@ -171,9 +171,9 @@ void Movie::queueFrameEvent(LEvent event, int eventId) {
|
||||
return;
|
||||
|
||||
if (event == kEventEnterFrame && script->_eventHandlers.contains(kEventGeneric)) {
|
||||
_eventQueue.push(LingoEvent(kEventGeneric, eventId, kScoreScript, scriptId, false));
|
||||
_eventQueue.push(LingoEvent(kEventGeneric, eventId, kScoreScript, scriptId, false, 0));
|
||||
} else if (script->_eventHandlers.contains(event)) {
|
||||
_eventQueue.push(LingoEvent(event, eventId, kScoreScript, scriptId, false));
|
||||
_eventQueue.push(LingoEvent(event, eventId, kScoreScript, scriptId, false, 0));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user