aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruruk2013-08-04 21:48:11 +0200
committeruruk2013-08-04 21:48:11 +0200
commit1956ca280bdd6491fd595c1c8f8da9aee679984b (patch)
treebc8b29899bb621501b2bcfe05b4251b4af2f72e3
parent471933a3fd0719a938c635735c56652e01a3ee36 (diff)
downloadscummvm-rg350-1956ca280bdd6491fd595c1c8f8da9aee679984b.tar.gz
scummvm-rg350-1956ca280bdd6491fd595c1c8f8da9aee679984b.tar.bz2
scummvm-rg350-1956ca280bdd6491fd595c1c8f8da9aee679984b.zip
AVALANCHE: Repair Logger::log_scrollchar(), cosmetic corrections in Scrolls and Timeout.
-rw-r--r--engines/avalanche/logger2.cpp8
-rw-r--r--engines/avalanche/scrolls2.h2
-rw-r--r--engines/avalanche/timeout2.cpp2
3 files changed, 6 insertions, 6 deletions
diff --git a/engines/avalanche/logger2.cpp b/engines/avalanche/logger2.cpp
index ef94eb3522..24c6d55fe9 100644
--- a/engines/avalanche/logger2.cpp
+++ b/engines/avalanche/logger2.cpp
@@ -152,14 +152,14 @@ void Logger::log_scrollchar(Common::String x) { /* print one character */
if (!_vm->_gyro->logging)
return;
- switch (x[1]) {
- case '`':
+ switch (x[0]) {
+ case '\'':
z = quote;
break; /* Open quotes: "66" */
- case '"':
+ case '\"':
z = unquote;
break; /* Close quotes: "99" */
- case '\357':
+ case 239:
z = copyright;
break; /* Copyright sign. */
default:
diff --git a/engines/avalanche/scrolls2.h b/engines/avalanche/scrolls2.h
index a4f5c0991d..6fa2be97d6 100644
--- a/engines/avalanche/scrolls2.h
+++ b/engines/avalanche/scrolls2.h
@@ -81,7 +81,7 @@ private:
- // Constants to replace the command characters from Pascal:
+ // Constants to replace the command characters from Pascal.
// For more information, see: https://github.com/urukgit/avalot/wiki/Scrolldrivers
static const char kControlSpeechBubble = 2; // ^B
diff --git a/engines/avalanche/timeout2.cpp b/engines/avalanche/timeout2.cpp
index 88277ef2f6..1574a95b30 100644
--- a/engines/avalanche/timeout2.cpp
+++ b/engines/avalanche/timeout2.cpp
@@ -76,7 +76,7 @@ void Timeout::one_tick() {
for (fv = 0; fv < 7; fv++) {
if (times[fv].time_left > 0) {
- times[fv].time_left --;
+ times[fv].time_left--;
if (times[fv].time_left == 0) {
switch (times[fv].then_where) {