- Timestamp:
- Jun 4, 2012, 10:50:28 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2012merge/src/modules/overlays/hud/HUDRadar.cc
r8891 r9279 92 92 void HUDRadar::addObject(RadarViewable* object) 93 93 { 94 if (object == dynamic_cast<RadarViewable*>(this->owner_))94 if (object == orxonox_cast<RadarViewable*>(this->owner_)) 95 95 return; 96 96 if( showObject(object) == false ) //do not show objects that are "invisible" or "radar invisible" … … 189 189 bool HUDRadar::showObject(RadarViewable* rv) 190 190 { 191 if ( rv == dynamic_cast<RadarViewable*> ( this->getOwner() ) )191 if ( rv == orxonox_cast<RadarViewable*> ( this->getOwner() ) ) 192 192 return false; 193 193 assert( rv->getWorldEntity() );
Note: See TracChangeset
for help on using the changeset viewer.