Changeset 11129 for code/branches/ogre1.9/src/orxonox/controllers
- Timestamp:
- Mar 6, 2016, 3:32:26 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ogre1.9/src/orxonox/controllers/NewHumanController.cc
r11071 r11129 397 397 try 398 398 { 399 wePtr = orxonox_cast<WorldEntity*>(Ogre::any_cast<OrxonoxClass*>(itr->movable->getUserAny())); 399 #if OGRE_VERSION >= 0x010900 400 const Ogre::Any& any = itr->movable->getUserObjectBindings().getUserAny(); 401 #else 402 const Ogre::Any& any = itr->movable->getUserAny(); 403 #endif 404 wePtr = orxonox_cast<WorldEntity*>(Ogre::any_cast<OrxonoxClass*>(any)); 400 405 } 401 406 catch (...)
Note: See TracChangeset
for help on using the changeset viewer.