diff options
-rw-r--r-- | engines/avalanche/avalanche.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/avalanche/avalanche.cpp b/engines/avalanche/avalanche.cpp index 89dca21d99..31fd05393c 100644 --- a/engines/avalanche/avalanche.cpp +++ b/engines/avalanche/avalanche.cpp @@ -304,7 +304,7 @@ bool AvalancheEngine::saveGame(const int16 slot, const Common::String &desc) { } Common::String AvalancheEngine::getSaveFileName(const int slot) { - return Common::String::format("%s.%03d", _targetName, slot); + return Common::String::format("%s.%03d", _targetName.c_str(), slot); } bool AvalancheEngine::canLoadGameStateCurrently() { // TODO: Refine these!!! |