Hopefully fixed swatter crash

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9046 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria
2011-06-24 22:59:55 +00:00
parent 94f6e2379b
commit edd77eee1f

View File

@@ -546,5 +546,7 @@ void KartModel::resetWheels()
/** Scales the kart model by a certain amount. */
void KartModel::scaleKart(const Vec3 &s)
{
m_animated_node->setScale(s.toIrrVector());
} // squashKart
if (m_animated_node)
m_animated_node->setScale(s.toIrrVector());
} // scaleKart