Fix #2152 (star effect not showing in graphics level 1).
This commit is contained in:
parent
4f4a1c0373
commit
93a5a91628
@ -109,11 +109,8 @@ ExplosionAnimation::ExplosionAnimation(AbstractKart *kart,
|
||||
float t = m_kart->getKartProperties()->getExplosionInvulnerabilityTime() *
|
||||
m_kart->getPlayerDifficulty()->getExplosionInvulnerabilityTime();
|
||||
m_kart->setInvulnerableTime(t);
|
||||
if ( UserConfigParams::m_graphical_effects )
|
||||
{
|
||||
m_kart->showStarEffect(t);
|
||||
}
|
||||
|
||||
m_kart->showStarEffect(t);
|
||||
|
||||
m_kart->getAttachment()->clear();
|
||||
|
||||
}; // ExplosionAnimation
|
||||
|
@ -1077,11 +1077,8 @@ void Kart::update(float dt)
|
||||
m_max_speed->getCurrentMaxSpeed());
|
||||
#endif
|
||||
|
||||
if ( UserConfigParams::m_graphical_effects )
|
||||
{
|
||||
// update star effect (call will do nothing if stars are not activated)
|
||||
m_stars_effect->update(dt);
|
||||
}
|
||||
// update star effect (call will do nothing if stars are not activated)
|
||||
m_stars_effect->update(dt);
|
||||
|
||||
if(m_squash_time>=0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user