ASYLUM: use correct flag

This commit is contained in:
alxpnv 2021-03-24 13:59:55 +03:00 committed by Eugene Sandulenko
parent 471ac0abfd
commit cbd1dc6c07
No known key found for this signature in database
GPG Key ID: 014D387312D34F08

View File

@ -1102,7 +1102,7 @@ END_OPCODE
IMPLEMENT_OPCODE(ResetSceneRect)
getWorld()->sceneRectIdx = (uint8)LOBYTE(cmd->param1);
getScreen()->paletteFade(0, 25, 10);
getSharedData()->setFlag(kFlagSceneRectChanged, true);
getSharedData()->setFlag(kFlagScene1, true);
getWorld()->xLeft = getWorld()->sceneRects[getWorld()->sceneRectIdx].left;
getWorld()->yTop = getWorld()->sceneRects[getWorld()->sceneRectIdx].top;