mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 12:56:38 +00:00 
			
		
		
		
	Use correct type for iterator
Fixes building on Windows with vs2010.
This commit is contained in:
		
							parent
							
								
									3e794a6087
								
							
						
					
					
						commit
						c161a3850f
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -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) | ||||
|                     { | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue