diff options
Diffstat (limited to 'engines/lastexpress/entities/august.cpp')
-rw-r--r-- | engines/lastexpress/entities/august.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/lastexpress/entities/august.cpp b/engines/lastexpress/entities/august.cpp index 36d8ed4fe4..e9aff248e4 100644 --- a/engines/lastexpress/entities/august.cpp +++ b/engines/lastexpress/entities/august.cpp @@ -455,11 +455,11 @@ IMPLEMENT_FUNCTION_I(20, August, function20, bool) } if (params->param1) { - strcpy((char *)¶meters->seq2, Common::String::printf("%s%s", (char *)¶meters->seq1, "Gc").c_str()); + strcpy((char *)¶meters->seq2, Common::String::format("%s%s", (char *)¶meters->seq1, "Gc").c_str()); getObjects()->update(kObjectCompartment3, kEntityPlayer, kObjectLocation1, kCursorKeepValue, kCursorKeepValue); } else { - strcpy((char *)¶meters->seq2, Common::String::printf("%s%s", (char *)¶meters->seq1, "Ec").c_str()); + strcpy((char *)¶meters->seq2, Common::String::format("%s%s", (char *)¶meters->seq1, "Ec").c_str()); } setCallback(1); @@ -474,7 +474,7 @@ IMPLEMENT_FUNCTION_I(20, August, function20, bool) case 1: { getData()->location = kLocationOutsideCompartment; - Common::String sequence2 = Common::String::printf("%s%s", (char *)¶meters->seq2, "Pc"); + Common::String sequence2 = Common::String::format("%s%s", (char *)¶meters->seq2, "Pc"); strcpy((char *)¶meters->seq2, (char *)¶meters->seq1); getEntities()->drawSequenceLeft(kEntityAugust, sequence2.c_str()); @@ -493,7 +493,7 @@ IMPLEMENT_FUNCTION_I(20, August, function20, bool) case 2: case 3: getSavePoints()->push(kEntityAugust, kEntityMertens, kAction269436673); - strcpy((char *)¶meters->seq2, Common::String::printf("%s%s", (char *)¶meters->seq1, "Qc").c_str()); + strcpy((char *)¶meters->seq2, Common::String::format("%s%s", (char *)¶meters->seq1, "Qc").c_str()); getEntities()->drawSequenceLeft(kEntityAugust, (char *)¶meters->seq2); break; |