aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/timeout2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/avalanche/timeout2.cpp')
-rw-r--r--engines/avalanche/timeout2.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/avalanche/timeout2.cpp b/engines/avalanche/timeout2.cpp
index 4debd16653..459f12415d 100644
--- a/engines/avalanche/timeout2.cpp
+++ b/engines/avalanche/timeout2.cpp
@@ -212,9 +212,7 @@ void Timeout::one_tick() {
}
void Timeout::lose_timer(byte which) {
- byte fv;
-
- for (fv = 0; fv < 7; fv++) {
+ for (byte fv = 0; fv < 7; fv++) {
if (times[fv].what_for == which)
times[fv].time_left = 0; // Cancel this one!
}