From 8b896600697d4605a9b23bef148c6a96bb2552a5 Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Sat, 2 Jul 2011 22:01:24 +0200 Subject: GUI: Zero is a valid save slot number. Fixes loading from slot 0 using the GMM. --- engines/engine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/engine.cpp b/engines/engine.cpp index b952f065ad..b19daa2611 100644 --- a/engines/engine.cpp +++ b/engines/engine.cpp @@ -410,7 +410,7 @@ void Engine::openMainMenuDialog() { // value, which is quite bad since it could // be a fatal loading error, which renders // the engine unusable. - if (_saveSlotToLoad > 0) + if (_saveSlotToLoad >= 0) loadGameState(_saveSlotToLoad); syncSoundSettings(); -- cgit v1.2.3