Changeset 3325 for code/trunk/src/orxonox/objects/worldentities/triggers
- Timestamp:
- Jul 19, 2009, 3:48:00 PM (16 years ago)
- Location:
- code/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/core4 merged: 3222-3224,3238
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/objects/worldentities/triggers/CheckPoint.cc
r3196 r3325 85 85 DistanceTrigger::triggered(bIsTriggered); 86 86 87 Asteroids* gametype = dynamic_cast<Asteroids*>(this->getGametype());87 Asteroids* gametype = orxonox_cast<Asteroids*>(this->getGametype()); 88 88 if (gametype) 89 89 { -
code/trunk/src/orxonox/objects/worldentities/triggers/DistanceTrigger.cc
r3280 r3325 120 120 for (ClassTreeMaskObjectIterator it = this->targetMask_.begin(); it != this->targetMask_.end(); ++it) 121 121 { 122 WorldEntity* entity = dynamic_cast<WorldEntity*>(*it);122 WorldEntity* entity = orxonox_cast<WorldEntity*>(*it); 123 123 if (!entity) 124 124 continue; … … 131 131 if(this->isForPlayer()) 132 132 { 133 Pawn* player = dynamic_cast<Pawn*>(entity);133 Pawn* player = orxonox_cast<Pawn*>(entity); 134 134 this->setTriggeringPlayer(player); 135 135 }
Note: See TracChangeset
for help on using the changeset viewer.