Fix #3634
This commit is contained in:
parent
1a1775e5cc
commit
7d67137420
@ -1238,10 +1238,12 @@ void SkiddingAI::handleItems(const float dt, const Vec3 *aim_point, int last_nod
|
||||
} // POWERUP_SWITCH
|
||||
|
||||
case PowerupManager::POWERUP_PARACHUTE:
|
||||
{
|
||||
// Wait one second more than a previous parachute
|
||||
if(m_time_since_last_shot > m_kart->getKartProperties()->getParachuteDurationOther() + 1.0f)
|
||||
if(m_time_since_last_shot > stk_config->ticks2Time(m_kart->getKartProperties()->getParachuteDurationOther()) + 1.0f)
|
||||
m_controls->setFire(true);
|
||||
break; // POWERUP_PARACHUTE
|
||||
break;
|
||||
}// POWERUP_PARACHUTE
|
||||
|
||||
case PowerupManager::POWERUP_SWATTER:
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user