Skip to content
Browse files

Disable loading .mtl files. Theyre not used anyway.

  • Loading branch information
RealBadAngel committed Dec 8, 2014
1 parent c5f6656 commit 638f3a8454941d3f561b1834d47fa07a611454a3
Showing with 2 additions and 0 deletions.
  1. +2 −0 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;

1 comment on commit 638f3a8


This comment has been minimized.

Copy link

@p5yk0g3n3s1s p5yk0g3n3s1s commented on 638f3a8 Dec 8, 2014

Yes! these errors flooded my console. There was a HUGE list.

Please sign in to comment.