Fix #3488
This commit is contained in:
parent
aec3fb9e17
commit
2dfecdb85f
@ -363,7 +363,7 @@ SP::SPMesh* SlipStream::createMesh(Material* material, bool bonus_mesh)
|
|||||||
//----------------------------------------------------------------------------- */
|
//----------------------------------------------------------------------------- */
|
||||||
void SlipStream::updateSlipstreamingTextures(float f, const AbstractKart *kart)
|
void SlipStream::updateSlipstreamingTextures(float f, const AbstractKart *kart)
|
||||||
{
|
{
|
||||||
if (!kart || !m_node || !m_node_fast)
|
if (!kart || kart->isEliminated() || !m_node || !m_node_fast)
|
||||||
{
|
{
|
||||||
if (m_node)
|
if (m_node)
|
||||||
{
|
{
|
||||||
|
@ -1309,6 +1309,11 @@ void Kart::eliminate()
|
|||||||
m_attachment->clear();
|
m_attachment->clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (m_slipstream)
|
||||||
|
{
|
||||||
|
m_slipstream->reset();
|
||||||
|
}
|
||||||
|
|
||||||
m_kart_gfx->setCreationRateAbsolute(KartGFX::KGFX_TERRAIN, 0);
|
m_kart_gfx->setCreationRateAbsolute(KartGFX::KGFX_TERRAIN, 0);
|
||||||
m_kart_gfx->setGFXInvisible();
|
m_kart_gfx->setGFXInvisible();
|
||||||
if (m_engine_sound)
|
if (m_engine_sound)
|
||||||
|
Loading…
Reference in New Issue
Block a user