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/orxonox/interfaces/Pickupable.cc

    r8866 r9279  
    338338        this->clone(item);
    339339
    340         Pickupable* pickup = dynamic_cast<Pickupable*>(item);
     340        Pickupable* pickup = orxonox_cast<Pickupable*>(item);
    341341
    342342        orxout(verbose, context::pickups) << "Pickupable (&" << this << ") cloned. Clone is new Pickupable (&" << pickup << ")." << endl;
Note: See TracChangeset for help on using the changeset viewer.