Fix display of saved games list in oracle of FF, when saving

svn-id: r21841
This commit is contained in:
Travis Howell 2006-04-13 12:23:30 +00:00
parent eaddfc5ed8
commit 696cbe1a64

View File

@ -161,9 +161,9 @@ void SimonEngine::listSaveGames(int n) {
int OK;
memset(b, 0, 108);
maxFiles = countSaveGames();
j = maxFiles - n;
k = maxFiles - j;
maxFiles = countSaveGames() - 1;
j = maxFiles - n + 1;
k = maxFiles - j + 1;
z = maxFiles;
if (getBitFlag(95)) {
j++;