mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-22 02:00:11 +00:00
Battle: screen shake when Barrier arms and once it reaches smallest radius
- Plays sound effect when Barrier reaches minimum size.
This commit is contained in:
parent
c9398e21be
commit
6431ef8250
1 changed files with 5 additions and 0 deletions
|
|
@ -694,7 +694,10 @@ void K_RunBattleOvertime(void)
|
|||
Music_DelayEnd("level", 0);
|
||||
}
|
||||
else if (battleovertime.enabled == 10*TICRATE)
|
||||
{
|
||||
S_StartSound(NULL, sfx_kc40);
|
||||
P_StartQuake(5, 64 * mapobjectscale, 0, NULL);
|
||||
}
|
||||
|
||||
if (!Music_Playing("level") && !Music_Playing("battle_overtime"))
|
||||
{
|
||||
|
|
@ -718,6 +721,8 @@ void K_RunBattleOvertime(void)
|
|||
{
|
||||
battleovertime.radius = minradius;
|
||||
K_CheckBumpers();
|
||||
S_StartSound(NULL, sfx_kc40);
|
||||
P_StartQuake(5, 64 * mapobjectscale, 0, NULL);
|
||||
}
|
||||
|
||||
// Subtract the 10 second grace period of the barrier
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue