aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/oracle.cpp
diff options
context:
space:
mode:
authorOri Avtalion2011-02-26 19:38:21 +0200
committerOri Avtalion2011-02-27 21:25:05 +0200
commitee3e08bbc2b4b11ce2b96abdabd72a33425b616d (patch)
tree210d57cd12962b0732fc32994cb6aaacf3613882 /engines/agos/oracle.cpp
parentd17a88940078f573b843de5a9415feb5292dffc3 (diff)
downloadscummvm-rg350-ee3e08bbc2b4b11ce2b96abdabd72a33425b616d.tar.gz
scummvm-rg350-ee3e08bbc2b4b11ce2b96abdabd72a33425b616d.tar.bz2
scummvm-rg350-ee3e08bbc2b4b11ce2b96abdabd72a33425b616d.zip
AGOS: Avoid hiding overloaded virtual methods
Diffstat (limited to 'engines/agos/oracle.cpp')
-rw-r--r--engines/agos/oracle.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/agos/oracle.cpp b/engines/agos/oracle.cpp
index 0a4ab8246f..8ff79965e4 100644
--- a/engines/agos/oracle.cpp
+++ b/engines/agos/oracle.cpp
@@ -369,7 +369,7 @@ void AGOSEngine_Feeble::swapCharacterLogo() {
}
}
-void AGOSEngine_Feeble::listSaveGames(int n) {
+void AGOSEngine_Feeble::listSaveGamesFeeble() {
char b[108];
Common::InSaveFile *in;
uint16 j, k, z, maxFiles;
@@ -377,8 +377,8 @@ void AGOSEngine_Feeble::listSaveGames(int n) {
memset(b, 0, 108);
maxFiles = countSaveGames() - 1;
- j = maxFiles - n + 1;
- k = maxFiles - j + 1;
+ j = maxFiles;
+ k = 1;
z = maxFiles;
if (getBitFlag(95)) {
j++;