Bugfix: beach track would crash.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3307 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
aaa4214be8
commit
591d997670
@ -83,7 +83,7 @@ IrrDriver::~IrrDriver()
|
||||
scene::IAnimatedMesh *IrrDriver::getAnimatedMesh(const std::string &filename)
|
||||
{
|
||||
scene::IAnimatedMesh *m = m_scene_manager->getMesh(filename.c_str());
|
||||
setAllMaterialFlags(m);
|
||||
if(m) setAllMaterialFlags(m);
|
||||
return m;
|
||||
} // getAnimatedMesh
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user