Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6512 in orxonox.OLD for trunk/src/world_entities/world_entity.cc


Ignore:
Timestamp:
Jan 17, 2006, 10:01:07 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: loadParams is now virtual.
ALL THE CLASSES HAVE TO CALL

SuperClass::loadParams(root);

isntead of:
static_cast<SuperClass*>(this)→loadParams(root);

which was quite stupid anyways

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/world_entity.cc

    r6498 r6512  
    9292{
    9393  // Do the PNode loading stuff
    94   static_cast<PNode*>(this)->loadParams(root);
     94  PNode::loadParams(root);
    9595
    9696  LoadParam(root, "md2texture", this, WorldEntity, loadMD2Texture)
Note: See TracChangeset for help on using the changeset viewer.