Don't replay goo sound during rewind
This commit is contained in:
parent
6305e9d1fc
commit
de1cd8e982
@ -1152,7 +1152,8 @@ void Kart::collectedItem(ItemState *item_state)
|
||||
m_kart_properties->getBubblegumSpeedFraction() ,
|
||||
m_kart_properties->getBubblegumFadeInTicks(),
|
||||
m_bubblegum_ticks);
|
||||
getNextEmitter()->play(getXYZ(), m_goo_sound);
|
||||
if (!RewindManager::get()->isRewinding())
|
||||
getNextEmitter()->play(getXYZ(), m_goo_sound);
|
||||
|
||||
// Play appropriate custom character sound
|
||||
playCustomSFX(SFXManager::CUSTOM_GOO);
|
||||
|
Loading…
Reference in New Issue
Block a user