aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/lucerna2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/avalanche/lucerna2.cpp')
-rw-r--r--engines/avalanche/lucerna2.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/avalanche/lucerna2.cpp b/engines/avalanche/lucerna2.cpp
index a99e74beef..a10c5e14ee 100644
--- a/engines/avalanche/lucerna2.cpp
+++ b/engines/avalanche/lucerna2.cpp
@@ -293,8 +293,7 @@ void Lucerna::loadRoom(byte num) {
_vm->_graphics->fleshColors();
- Common::String filename;
- filename = filename.format("place%d.avd", num);
+ Common::String filename = Common::String::format("place%d.avd", num);
if (!file.open(filename)) {
warning("AVALANCHE: Lucerna: File not found: %s", filename.c_str());
return;