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:
parent
e6e0599976
commit
efeec06cf7
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user