aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRealBadAngel <maciej.kasatkin@o2.pl>2014-12-07 23:25:51 +0100
committerRealBadAngel <maciej.kasatkin@o2.pl>2014-12-08 02:24:46 +0100
commit638f3a8454941d3f561b1834d47fa07a611454a3 (patch)
tree37f0825240ecd53a3f68e85cb412e21887670d8e /src
parentc5f6656f998457450b036285713f49854249cc13 (diff)
downloadminetest-638f3a8454941d3f561b1834d47fa07a611454a3.tar.gz
minetest-638f3a8454941d3f561b1834d47fa07a611454a3.tar.bz2
minetest-638f3a8454941d3f561b1834d47fa07a611454a3.zip
Disable loading .mtl files. Theyre not used anyway.
Diffstat (limited to 'src')
-rw-r--r--src/game.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index c15f9e093..5d53c67d2 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -1697,6 +1697,8 @@ bool Game::startup(bool *kill,
driver = device->getVideoDriver();
smgr = device->getSceneManager();
+ smgr->getParameters()->setAttribute(scene::OBJ_LOADER_IGNORE_MATERIAL_FILES, true);
+
if (!init(map_dir, address, port, gamespec))
return false;