mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-19 22:42:46 +00:00
Invert behaviour in modeattacking
This commit is contained in:
parent
2385913d9d
commit
abc48d7546
1 changed files with 6 additions and 1 deletions
|
|
@ -8210,12 +8210,17 @@ void P_ResetLevelMusic(void)
|
||||||
|
|
||||||
if (tempmapmus_size > 1)
|
if (tempmapmus_size > 1)
|
||||||
{
|
{
|
||||||
if (g_reloadingMap)
|
if (g_reloadingMap == (modeattacking == ATTACKING_NONE))
|
||||||
{
|
{
|
||||||
// If restarting the map, simply cycle
|
// If restarting the map, simply cycle
|
||||||
// through available alt music.
|
// through available alt music.
|
||||||
idx = (mapmusrng + 1) % tempmapmus_size;
|
idx = (mapmusrng + 1) % tempmapmus_size;
|
||||||
}
|
}
|
||||||
|
else if (modeattacking)
|
||||||
|
{
|
||||||
|
// Short circuit the cycle.
|
||||||
|
idx = mapmusrng % tempmapmus_size;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
idx = random % tempmapmus_size;
|
idx = random % tempmapmus_size;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue