mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
Added accelerated tick calls during room loads
svn-id: r28547
This commit is contained in:
parent
e1fd529679
commit
48499f3a52
@ -539,8 +539,10 @@ void Room::setRoomNumber(uint16 newRoomNumber, bool showOverlay) {
|
|||||||
int numSeconds = (g_system->getMillis() - _roomData->exitTime) / 1000;
|
int numSeconds = (g_system->getMillis() - _roomData->exitTime) / 1000;
|
||||||
if (numSeconds > 300) numSeconds = 300;
|
if (numSeconds > 300) numSeconds = 300;
|
||||||
|
|
||||||
|
game.preloadFlag() = true;
|
||||||
while (numSeconds-- > 0)
|
while (numSeconds-- > 0)
|
||||||
game.tick(true);
|
game.tick();
|
||||||
|
game.preloadFlag() = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
update();
|
update();
|
||||||
|
Loading…
Reference in New Issue
Block a user