DIRECTOR: Fix warnings

This commit is contained in:
Eugene Sandulenko 2020-04-02 16:10:46 +02:00
parent b2f6777be1
commit 4b1929b6dc
2 changed files with 3 additions and 4 deletions

View File

@ -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");
}

View File

@ -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");