1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-10-04 18:56:35 +00:00

Merge remote-tracking branch 'mmd/iterfix'

This commit is contained in:
Marc Zinnschlag 2012-09-16 10:32:40 +02:00
commit daa160d699

View file

@ -73,7 +73,7 @@ namespace Render
int id = Ogre::any_cast<int>(subEntity->getParent ()->getUserObjectBindings().getUserAny());
bool found = false;
Ogre::ColourValue colour;
for (std::map<Ogre::ColourValue, int>::iterator it = mColourMap.begin(); it != mColourMap.end(); ++it)
for (std::map<Ogre::ColourValue, int, cmp_ColourValue>::iterator it = mColourMap.begin(); it != mColourMap.end(); ++it)
{
if (it->second == id)
{