aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/timer.cpp
diff options
context:
space:
mode:
authorStrangerke2013-09-09 23:00:24 +0200
committerStrangerke2013-09-09 23:00:24 +0200
commite12e0eb2ff324c3032f8375162b4275c71f9a9e8 (patch)
tree9760326b432e8297b231496db79cd7c3f3469ba6 /engines/avalanche/timer.cpp
parent524edfcbc358432dea7e8e96f4646dfe94b03596 (diff)
downloadscummvm-rg350-e12e0eb2ff324c3032f8375162b4275c71f9a9e8.tar.gz
scummvm-rg350-e12e0eb2ff324c3032f8375162b4275c71f9a9e8.tar.bz2
scummvm-rg350-e12e0eb2ff324c3032f8375162b4275c71f9a9e8.zip
AVALANCHE: Rework some more strings, identify some dead code in avalanche.cpp
Diffstat (limited to 'engines/avalanche/timer.cpp')
-rw-r--r--engines/avalanche/timer.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/avalanche/timer.cpp b/engines/avalanche/timer.cpp
index eaa2211224..cb6f10ad12 100644
--- a/engines/avalanche/timer.cpp
+++ b/engines/avalanche/timer.cpp
@@ -652,12 +652,12 @@ void Timer::avalotFalls() {
_vm->_animation->_sprites[0]._stepNum++;
addTimer(3, kProcAvalotFalls, kReasonFallingOver);
} else {
- Common::String toDisplay;
- for (byte i = 0; i < 6; i++)
- toDisplay += _vm->_scrolls->kControlNewLine;
- for (byte i = 0; i < 6; i++)
- toDisplay += _vm->_scrolls->kControlInsertSpaces;
- toDisplay += _vm->_scrolls->kControlRegister + 'Z' + _vm->_scrolls->kControlIcon;
+ Common::String toDisplay = Common::String::format("%c%c%c%c%c%c%c%c%c%c%c%c%cZ%c",
+ Scrolls::kControlNewLine, Scrolls::kControlNewLine, Scrolls::kControlNewLine,
+ Scrolls::kControlNewLine, Scrolls::kControlNewLine, Scrolls::kControlNewLine,
+ Scrolls::kControlInsertSpaces, Scrolls::kControlInsertSpaces, Scrolls::kControlInsertSpaces,
+ Scrolls::kControlInsertSpaces, Scrolls::kControlInsertSpaces, Scrolls::kControlInsertSpaces,
+ Scrolls::kControlRegister, Scrolls::kControlIcon);
_vm->_scrolls->displayText(toDisplay);
}
}