Fix a crash with ghost replays

This commit is contained in:
Alayan 2018-09-22 15:50:05 +02:00
parent 4a18ac2725
commit e11f327519

View File

@ -298,7 +298,7 @@ Kart::~Kart()
*/ */
void Kart::reset() void Kart::reset()
{ {
if (m_flying) if (m_flying && !isGhostKart())
{ {
m_flying = false; m_flying = false;
stopFlying(); stopFlying();