From 0ea2321e76003b68ef49a41169c5d04c2a73aea3 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Tue, 13 Mar 2018 19:04:08 -0400 Subject: [PATCH] XEEN: Fix saving to slot 0 using in-game Control Panel --- engines/xeen/saves.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/xeen/saves.cpp b/engines/xeen/saves.cpp index a338aaffd33..7bd938180e1 100644 --- a/engines/xeen/saves.cpp +++ b/engines/xeen/saves.cpp @@ -267,7 +267,7 @@ bool SavesManager::saveGame() { Common::String saveName = dialog->getResultString(); delete dialog; - if (slotNum) + if (slotNum != -1) saveGameState(slotNum, saveName); return slotNum != -1;