Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 11, 2010, 11:32:01 AM (14 years ago)
Author:
rgrieder
Message:

Ensured OGRE v1.7 "Cthugha" code compatibility. Does not yet seem to run run though.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/controllers/NewHumanController.cc

    r6417 r6501  
    366366            {
    367367                // Try to cast the user pointer
    368                 WorldEntity* wePtr = dynamic_cast<WorldEntity*>(itr->movable->getUserObject());
     368                WorldEntity* wePtr = dynamic_cast<WorldEntity*>(Ogre::any_cast<OrxonoxClass*>(itr->movable->getUserAny()));
    369369                if (wePtr)
    370370                {
Note: See TracChangeset for help on using the changeset viewer.