This commit is contained in:
Alayan 2018-11-28 08:06:57 +01:00
parent 1a1775e5cc
commit 7d67137420

View File

@ -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:
{