mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-01 08:23:15 +00:00
Added code responsible for transforming the player back from Selena
svn-id: r26778
This commit is contained in:
parent
6a7b74d99d
commit
9631586ce8
@ -282,6 +282,17 @@ void Game::playerChangeRoom() {
|
||||
player->setPosition(newPos.x, newPos.y);
|
||||
player->setOccupied(true);
|
||||
room.setRoomNumber(roomNum, false);
|
||||
|
||||
// Special check for change back from Selena
|
||||
if ((roomNum != 31) && (roomNum != 14) && (fields.getField(74) != 0)) {
|
||||
uint16 v = fields.getField(29);
|
||||
if (v != 0) {
|
||||
--v;
|
||||
fields.setField(29, v);
|
||||
if (v == 0)
|
||||
res.delayList().add(2, 0xCB7, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void Game::displayChuteAnimation()
|
||||
|
Loading…
x
Reference in New Issue
Block a user