aboutsummaryrefslogtreecommitdiff
path: root/src/client/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/client.cpp')
-rw-r--r--src/client/client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/client.cpp b/src/client/client.cpp
index 48097be2e..15979df02 100644
--- a/src/client/client.cpp
+++ b/src/client/client.cpp
@@ -1983,7 +1983,7 @@ scene::IAnimatedMesh* Client::getMesh(const std::string &filename, bool cache)
return nullptr;
mesh->grab();
if (!cache)
- m_rendering_engine->get_mesh_cache()->removeMesh(mesh);
+ m_rendering_engine->removeMesh(mesh);
return mesh;
}