Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6512 in orxonox.OLD for trunk/src/story_entities/campaign.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/story_entities/campaign.cc

    r6424 r6512  
    6161void Campaign::loadParams(const TiXmlElement* root)
    6262{
    63   static_cast<StoryEntity*>(this)->loadParams(root);
     63  StoryEntity::loadParams(root);
    6464
    6565  PRINTF(4)("Loaded Campaign specific stuff\n");
Note: See TracChangeset for help on using the changeset viewer.