Add fan sound
This commit is contained in:
parent
67e0814afb
commit
2ff43a0d1a
4 changed files with 38 additions and 8 deletions
4
game.h
4
game.h
|
@ -1387,7 +1387,9 @@ LCR_replayOutputStr(_LCR_gameDataCharWrite);
|
|||
LCR_LOG2("crash (big)");
|
||||
}
|
||||
else if (events & LCR_RACING_EVENT_ACCELERATOR)
|
||||
LCR_audioPlaySoundIfFree(LCR_SOUND_ACCELERATOR);
|
||||
LCR_audioPlaySoundIfFree(LCR_SOUND_ACCELERATOR);
|
||||
else if (events & LCR_RACING_EVENT_FAN)
|
||||
LCR_audioPlaySoundIfFree(LCR_SOUND_FAN);
|
||||
|
||||
int engineIntensity = LCR_carSpeedKMH() * 2;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue