Skip to content

Commit

Permalink
Disable loading .mtl files. Theyre not used anyway.
Browse files Browse the repository at this point in the history
  • Loading branch information
RealBadAngel committed Dec 8, 2014
1 parent c5f6656 commit 638f3a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/game.cpp
Expand Up @@ -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;

Expand Down

1 comment on commit 638f3a8

@p5yk0g3n3s1s
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Please sign in to comment.