diff --git a/src/karts/kart.cpp b/src/karts/kart.cpp index 48dbc6e36..8033daf2f 100644 --- a/src/karts/kart.cpp +++ b/src/karts/kart.cpp @@ -1836,6 +1836,8 @@ void Kart::setSquash(float time, float slowdown) void Kart::unsetSquash() { #ifndef SERVER_ONLY + if (isGhostKart()) return; + m_squash_time = std::numeric_limits::max(); m_node->setScale(core::vector3df(1.0f, 1.0f, 1.0f)); scene::ISceneNode* node = m_kart_model->getAnimatedNode() ?