Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 4, 2012, 10:50:28 PM (12 years ago)
Author:
landauf
Message:

use orxonox_cast instead of dynamic_cast wherever possible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2012merge/src/modules/pickup/items/InvisiblePickup.cc

    r8858 r9279  
    159159        SUPER(InvisiblePickup, clone, item);
    160160
    161         InvisiblePickup* pickup = dynamic_cast<InvisiblePickup*>(item);
     161        InvisiblePickup* pickup = orxonox_cast<InvisiblePickup*>(item);
    162162        pickup->setDuration(this->getDuration());
    163163        pickup->initializeIdentifier();
     
    202202    {
    203203        PickupCarrier* carrier = this->getCarrier();
    204         Pawn* pawn = dynamic_cast<Pawn*>(carrier);
     204        Pawn* pawn = orxonox_cast<Pawn*>(carrier);
    205205
    206206        if(pawn == NULL)
Note: See TracChangeset for help on using the changeset viewer.