mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 10:53:53 +00:00
changed a method for ogre 1.8.0
This commit is contained in:
parent
1f7e044fad
commit
565aad3783
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ namespace Render
|
|||
if(typeid(*rend) == typeid(Ogre::SubEntity))
|
||||
{
|
||||
const Ogre::SubEntity *subEntity = static_cast<const Ogre::SubEntity *>(rend);
|
||||
int id = subEntity->getParent ()->getUserObjectBindings().getUserAny().get<int>();
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue