mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-08 19:00:57 +00:00
AVALANCHE: Repair Timeout::lose_timer().
This commit is contained in:
parent
c519ea0aa2
commit
ee6119d07f
@ -214,11 +214,10 @@ void Timeout::one_tick() {
|
||||
void Timeout::lose_timer(byte which) {
|
||||
byte fv;
|
||||
|
||||
for (fv = 1; fv <= 7; fv++) {
|
||||
timetype &with = times[fv];
|
||||
if (with.what_for == which)
|
||||
with.time_left = 0;
|
||||
} /* Cancel this one! */
|
||||
for (fv = 0; fv < 7; fv++) {
|
||||
if (times[fv].what_for == which)
|
||||
times[fv].time_left = 0; // Cancel this one!
|
||||
}
|
||||
}
|
||||
|
||||
/*function timer_is_on(which:byte):boolean;
|
||||
|
Loading…
Reference in New Issue
Block a user