[Scummvm-cvs-logs] scummvm master -> 9a9bc35a937f016981da21b767c6ad13ca7dabd4

urukgit urukgit at users.noreply.github.com
Mon Apr 21 23:10:05 CEST 2014


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
9a9bc35a93 AVALANCHE: Fix Timer::afterTheShootemup().


Commit: 9a9bc35a937f016981da21b767c6ad13ca7dabd4
    https://github.com/scummvm/scummvm/commit/9a9bc35a937f016981da21b767c6ad13ca7dabd4
Author: uruk (koppirnyo at gmail.com)
Date: 2014-04-21T23:09:29+02:00

Commit Message:
AVALANCHE: Fix Timer::afterTheShootemup().

Changed paths:
    engines/avalanche/timer.cpp



diff --git a/engines/avalanche/timer.cpp b/engines/avalanche/timer.cpp
index 8a7ef9a..a9753b3 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!");






More information about the Scummvm-git-logs mailing list