Used proper base class for setAllMaterialFlags.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7953 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2011-03-16 21:04:26 +00:00
parent 1fed8b10fb
commit e6aa7b0cf9

View File

@ -478,7 +478,7 @@ scene::IMesh *IrrDriver::getMesh(const std::string &filename)
* material_manager.
* \param mesh The mesh to change the settings in.
*/
void IrrDriver::setAllMaterialFlags(scene::IAnimatedMesh *mesh) const
void IrrDriver::setAllMaterialFlags(scene::IMesh *mesh) const
{
unsigned int n=mesh->getMeshBufferCount();
for(unsigned int i=0; i<n; i++)