mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-20 08:48:13 +00:00
DIRECTOR: Fix warnings
This commit is contained in:
parent
b2f6777be1
commit
4b1929b6dc
@ -789,7 +789,7 @@ void LC::c_of() {
|
||||
}
|
||||
}
|
||||
|
||||
if (first_item.u.i > 0) {
|
||||
if (first_item.u.i > 0 || last_item.u.i > 0) {
|
||||
warning("STUB: c_of item indexing");
|
||||
}
|
||||
|
||||
|
@ -243,10 +243,9 @@ void Lingo::processFrameEvent(LEvent event) {
|
||||
|
||||
void Lingo::processGenericEvent(LEvent event) {
|
||||
// Movie Script
|
||||
int id = -1;
|
||||
if (event == kEventStart || event == kEventPrepareMovie ||
|
||||
event == kEventStartMovie || event == kEventStopMovie)
|
||||
id = 0;
|
||||
event == kEventStartMovie || event == kEventStopMovie)
|
||||
; // we're OK
|
||||
else
|
||||
warning("STUB: processGenericEvent called for unprocessed event, additional logic probably needed");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user