Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6512 in orxonox.OLD for trunk/src/world_entities/projectiles/bomb.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/projectiles/bomb.cc

    r6434 r6512  
    9696{
    9797  // all the clases this Entity is directly derived from must be called in this way, to load all settings.
    98   static_cast<WorldEntity*>(this)->loadParams(root);
     98  Projectile::loadParams(root);
    9999
    100100
Note: See TracChangeset for help on using the changeset viewer.