From c8305012f83b1af7c1051e29b45ba89d10c40d09 Mon Sep 17 00:00:00 2001 From: Deve Date: Sat, 22 Sep 2018 20:54:43 +0200 Subject: [PATCH] Make sure that m_flying is initialized when reset function is called first time during initialization. --- src/karts/kart.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/karts/kart.cpp b/src/karts/kart.cpp index 26f57f53d..ae88b0fee 100644 --- a/src/karts/kart.cpp +++ b/src/karts/kart.cpp @@ -135,6 +135,7 @@ Kart::Kart (const std::string& ident, unsigned int world_kart_id, m_fire_clicked = 0; m_boosted_ai = false; m_type = RaceManager::KT_AI; + m_flying = false; m_xyz_history_size = stk_config->time2Ticks(XYZ_HISTORY_TIME);