Fix a crash with ghost replays
This commit is contained in:
parent
4a18ac2725
commit
e11f327519
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user