mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-06 02:10:28 +00:00
TRECISION: Fix loading from the launcher
This commit is contained in:
parent
3db90c3546
commit
e49abd0f0c
@ -217,10 +217,6 @@ Common::Error TrecisionEngine::run() {
|
||||
|
||||
initMain();
|
||||
|
||||
// Check if a saved game is to be loaded from the launcher
|
||||
if (ConfMan.hasKey("save_slot"))
|
||||
loadGameState(ConfMan.getInt("save_slot"));
|
||||
|
||||
while (!shouldQuit()) {
|
||||
eventLoop();
|
||||
if (!_flagNoPaintScreen)
|
||||
@ -317,6 +313,10 @@ void TrecisionEngine::initMain() {
|
||||
loadAll();
|
||||
processTime();
|
||||
|
||||
// Check if a saved game is to be loaded from the launcher
|
||||
if (ConfMan.hasKey("save_slot"))
|
||||
loadGameState(ConfMan.getInt("save_slot"));
|
||||
|
||||
_scheduler->changeRoom(_curRoom, 0, 0, _curObj);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user