Always highest geometry level in network game

This commit is contained in:
Benau 2018-07-11 09:06:49 +08:00
parent ed8b5e9f76
commit bce888ec26

View File

@ -2126,7 +2126,8 @@ void Track::loadObjects(const XMLNode* root, const std::string& path, ModelDefin
{
int geo_level = 0;
node->get("geometry-level", &geo_level);
if (UserConfigParams::m_geometry_level + geo_level - 2 > 0)
if (UserConfigParams::m_geometry_level + geo_level - 2 > 0 &&
!NetworkConfig::get()->isNetworking())
continue;
m_track_object_manager->add(*node, parent, model_def_loader, parent_library);
}