diff options
author | uruk | 2013-08-04 21:48:11 +0200 |
---|---|---|
committer | uruk | 2013-08-04 21:48:11 +0200 |
commit | 1956ca280bdd6491fd595c1c8f8da9aee679984b (patch) | |
tree | bc8b29899bb621501b2bcfe05b4251b4af2f72e3 | |
parent | 471933a3fd0719a938c635735c56652e01a3ee36 (diff) | |
download | scummvm-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.cpp | 8 | ||||
-rw-r--r-- | engines/avalanche/scrolls2.h | 2 | ||||
-rw-r--r-- | engines/avalanche/timeout2.cpp | 2 |
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) { |