aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/celer2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/avalanche/celer2.cpp')
-rw-r--r--engines/avalanche/celer2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/avalanche/celer2.cpp b/engines/avalanche/celer2.cpp
index 20413ff7d5..eae8dcaab9 100644
--- a/engines/avalanche/celer2.cpp
+++ b/engines/avalanche/celer2.cpp
@@ -268,11 +268,11 @@ void Celer::pics_link() {
}
}
-void Celer::load_chunks(char *xx) {
+void Celer::load_chunks(Common::String xx) {
chunkblocktype ch;
byte fv;
- filename = filename.format("chunk%s.avd", xx);
+ filename = filename.format("chunk%s.avd", xx.c_str());
if (!f.open(filename)) {
warning("AVALANCHE: Celer: File not found: %s", filename.c_str());
return;