Changeset 9279 for code/branches/presentation2012merge/src/modules/overlays
- Timestamp:
- Jun 4, 2012, 10:50:28 PM (12 years ago)
- Location:
- code/branches/presentation2012merge/src/modules/overlays/hud
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2012merge/src/modules/overlays/hud/HUDNavigation.cc
r9257 r9279 427 427 bool HUDNavigation::showObject(RadarViewable* rv) 428 428 { 429 if ( rv == dynamic_cast<RadarViewable*> ( this->getOwner() ) )429 if ( rv == orxonox_cast<RadarViewable*> ( this->getOwner() ) ) 430 430 return false; 431 431 assert( rv->getWorldEntity() ); -
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.