Changeset 2815 for code/branches/gui/src/orxonox/objects
- Timestamp:
- Mar 21, 2009, 5:56:10 PM (16 years ago)
- Location:
- code/branches/gui/src/orxonox/objects
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gui/src/orxonox/objects/EventTarget.cc
r2662 r2815 66 66 void EventTarget::addAsEvent(BaseObject* object) 67 67 { 68 if (object != (BaseObject*)this)68 if (object != static_cast<BaseObject*>(this)) 69 69 object->addEvent(this, ""); 70 70 } -
code/branches/gui/src/orxonox/objects/Radar.cc
r2662 r2815 144 144 for (ObjectList<RadarViewable>::iterator it = ObjectList<RadarViewable>::begin(); it; ++it) 145 145 { 146 if (*it == (RadarViewable*)this->owner_)146 if (*it == static_cast<RadarViewable*>(this)->owner_) 147 147 continue; 148 148 -
code/branches/gui/src/orxonox/objects/pickup/PickupSpawner.cc
r2662 r2815 89 89 ExecutorMember<BaseObject>* executor = createExecutor(createFunctor(&BaseObject::setActive)); 90 90 executor->setDefaultValues(true); 91 RespawnTimer_.setTimer(this->respawntimer_, false, (BaseObject*)this, executor);91 RespawnTimer_.setTimer(this->respawntimer_, false, this, executor); 92 92 COUT(0) << "TIMER SET" << std::endl; 93 93 }
Note: See TracChangeset
for help on using the changeset viewer.