Disable loading .mtl files. Theyre not used anyway.

master
RealBadAngel 2014-12-07 23:25:51 +01:00
parent c5f6656f99
commit 638f3a8454
1 changed files with 2 additions and 0 deletions

View File

@ -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;