Added assert (mainly to document when this function is being called).

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8386 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2011-04-19 22:58:52 +00:00
parent e6e0599976
commit efeec06cf7

View File

@ -247,6 +247,7 @@ scene::ISceneNode* KartModel::attachModel(bool animatedModels)
*/
bool KartModel::loadModels(const KartProperties &kart_properties)
{
assert(m_is_master);
std::string full_path = kart_properties.getKartDir()+"/"+m_model_filename;
m_mesh = irr_driver->getAnimatedMesh(full_path);