[Scummvm-cvs-logs] scummvm master -> 96dea8fd7feb1e668ee98c7d58184c2b83025498

dreammaster dreammaster at scummvm.org
Fri Jul 31 02:55:49 CEST 2015


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
96dea8fd7f SHERLOCK: RT: Fix savegame numbering in original saves dialog


Commit: 96dea8fd7feb1e668ee98c7d58184c2b83025498
    https://github.com/scummvm/scummvm/commit/96dea8fd7feb1e668ee98c7d58184c2b83025498
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-07-30T20:54:48-04:00

Commit Message:
SHERLOCK: RT: Fix savegame numbering in original saves dialog

Changed paths:
    engines/sherlock/saveload.cpp



diff --git a/engines/sherlock/saveload.cpp b/engines/sherlock/saveload.cpp
index ce6f32d..c20f783 100644
--- a/engines/sherlock/saveload.cpp
+++ b/engines/sherlock/saveload.cpp
@@ -67,7 +67,7 @@ void SaveManager::createSavegameList() {
 
 	SaveStateList saveList = getSavegameList(_target);
 	for (uint idx = 0; idx < saveList.size(); ++idx) {
-		int slot = saveList[idx].getSaveSlot() - 1;
+		int slot = saveList[idx].getSaveSlot();
 		if (slot >= 0 && slot < MAX_SAVEGAME_SLOTS)
 			_savegames[slot] = saveList[idx].getDescription();
 	}






More information about the Scummvm-git-logs mailing list