diff --git a/src/karts/kart_model.cpp b/src/karts/kart_model.cpp index f70abb64d..0d0511aa1 100644 --- a/src/karts/kart_model.cpp +++ b/src/karts/kart_model.cpp @@ -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);