MOHAWK: Fix LBCode goto notify.

This commit is contained in:
Alyssa Milburn 2011-12-08 23:18:08 +01:00
parent ef22475988
commit 64c5a12d60

View File

@ -1462,7 +1462,7 @@ void LBCode::runNotifyCommand() {
debugN("goto");
Common::Array<LBValue> params = readParams();
// TODO: type-checking
NotifyEvent notifyEvent(kLBNotifyChangePage, 0);
NotifyEvent notifyEvent(kLBNotifyChangePage, 1);
switch (params.size()) {
case 4:
notifyEvent.type = kLBNotifyChangeMode; // FIXME: type 8?