aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/timeout2.cpp
diff options
context:
space:
mode:
authoruruk2013-08-23 11:33:37 +0200
committeruruk2013-08-23 11:33:37 +0200
commit457d898ff3a5fe5ee156a6d03be49b144cab551e (patch)
treedd3b5865b22137559680a797d33289c37eb4b10b /engines/avalanche/timeout2.cpp
parentdbd330bf2fdfdae94d4e50e9c4e3fff2162de478 (diff)
downloadscummvm-rg350-457d898ff3a5fe5ee156a6d03be49b144cab551e.tar.gz
scummvm-rg350-457d898ff3a5fe5ee156a6d03be49b144cab551e.tar.bz2
scummvm-rg350-457d898ff3a5fe5ee156a6d03be49b144cab551e.zip
AVALANCHE: Upgrade Lucerna::enterroom(). Add r__yourhall to roomnums.h, handle it's cases in Lucerna:enterroom() and Trip::open_the_door(). Remove unnecessary typecasts in Celer::pics_link(), upgrade Celer::show_one(). Introduce Graphics::refreshBackground(), use it where needed.
Diffstat (limited to 'engines/avalanche/timeout2.cpp')
-rw-r--r--engines/avalanche/timeout2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/avalanche/timeout2.cpp b/engines/avalanche/timeout2.cpp
index ece531718d..bbb5e8cc3f 100644
--- a/engines/avalanche/timeout2.cpp
+++ b/engines/avalanche/timeout2.cpp
@@ -79,7 +79,7 @@ void Timeout::one_tick() {
if (_vm->_gyro->ddmnow)
return;
- for (fv = 0; fv < 7; fv++) {
+ for (byte fv = 0; fv < 7; fv++) {
if (times[fv].time_left > 0) {
times[fv].time_left--;