Use unique save game naming for PC versions of Elvira 2 and Waxworks, due to the save game format differences.
svn-id: r29539
This commit is contained in:
parent
9a07589de8
commit
7bc422a8e9
1 changed files with 8 additions and 2 deletions
|
@ -87,9 +87,15 @@ char *AGOSEngine::genSaveName(int slot) {
|
|||
} else if (getGameType() == GType_SIMON1) {
|
||||
sprintf(buf, "simon1.%.3d", slot);
|
||||
} else if (getGameType() == GType_WW) {
|
||||
sprintf(buf, "waxworks.%.3d", slot);
|
||||
if (getPlatform() == Common::kPlatformPC)
|
||||
sprintf(buf, "waxworks-pc.%.3d", slot);
|
||||
else
|
||||
sprintf(buf, "waxworks.%.3d", slot);
|
||||
} else if (getGameType() == GType_ELVIRA2) {
|
||||
sprintf(buf, "elvira2.%.3d", slot);
|
||||
if (getPlatform() == Common::kPlatformPC)
|
||||
sprintf(buf, "elvira2-pc.%.3d", slot);
|
||||
else
|
||||
sprintf(buf, "elvira2.%.3d", slot);
|
||||
} else if (getGameType() == GType_ELVIRA1) {
|
||||
sprintf(buf, "elvira1.%.3d", slot);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue