mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-23 02:42:38 +01:00
- fix my nasty bug in InitSkidding
This commit is contained in:
parent
b60bf33226
commit
0fdd119bcf
@ -839,12 +839,10 @@ LAB_0004e0dc:
|
||||
InitDopplerSFX();
|
||||
InitSkidding();
|
||||
AddTunnels(GameLevel);
|
||||
first_offence = '\x01';
|
||||
first_offence = 1;
|
||||
InitializeMissionSound();
|
||||
}
|
||||
|
||||
|
||||
|
||||
// decompiled code
|
||||
// original method signature:
|
||||
// unsigned short /*$ra*/ GetEngineRevs(struct _CAR_DATA *cp /*$t2*/)
|
||||
|
@ -2359,7 +2359,8 @@ void InitSkidding(void)
|
||||
player[i].wheelnoise.chan = -1;
|
||||
player[i].skidding.sound = -1;
|
||||
player[i].skidding.chan = -1;
|
||||
} while (i-- >= 0);
|
||||
i--;
|
||||
} while (i >= 0);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user