aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche
diff options
context:
space:
mode:
authoruruk2014-04-21 23:08:24 +0200
committeruruk2014-04-21 23:09:29 +0200
commit9a9bc35a937f016981da21b767c6ad13ca7dabd4 (patch)
treec66c78319769593a0a27de172c3697b4acc3250d /engines/avalanche
parentf49ce445891fb374cede2d05f2bf38bb09c8ecf4 (diff)
downloadscummvm-rg350-9a9bc35a937f016981da21b767c6ad13ca7dabd4.tar.gz
scummvm-rg350-9a9bc35a937f016981da21b767c6ad13ca7dabd4.tar.bz2
scummvm-rg350-9a9bc35a937f016981da21b767c6ad13ca7dabd4.zip
AVALANCHE: Fix Timer::afterTheShootemup().
Diffstat (limited to 'engines/avalanche')
-rw-r--r--engines/avalanche/timer.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/avalanche/timer.cpp b/engines/avalanche/timer.cpp
index 8a7ef9a316..a9753b3cce 100644
--- a/engines/avalanche/timer.cpp
+++ b/engines/avalanche/timer.cpp
@@ -347,9 +347,7 @@ void Timer::afterTheShootemup() {
_vm->refreshObjectList();
byte gain = (_shootEmUpScore + 5) / 10; // Rounding up.
-
- _vm->_dialogs->displayText(kControlItalic + Common::String("Your score was ") + Common::String::format("%d", _shootEmUpScore) + '.' + kControlNewLine + kControlNewLine + "You gain (" +
- Common::String::format("%d", _shootEmUpScore) + " " + 0xF6 + " 10) = " + Common::String::format("%d", gain) + " points.");
+ _vm->_dialogs->displayText(Common::String::format("%cYour score was %d.%c%cYou gain (%d \xf6 10) = %d points.", kControlItalic, _shootEmUpScore, kControlNewLine, kControlNewLine, _shootEmUpScore, gain));
if (gain > 20) {
_vm->_dialogs->displayText("But we won't let you have more than 20 points!");