Hide shadow when kart eliminated

This commit is contained in:
Benau 2018-01-02 12:47:42 +08:00
parent 3a24d0ed1f
commit d34277c35f

View File

@ -1196,6 +1196,11 @@ void Kart::eliminate()
m_eliminated = true;
if (m_shadow)
{
m_shadow->update(false);
}
m_node->setVisible(false);
} // eliminate