diff options
-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) { |