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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user