Changeset 3325 for code/trunk/src/orxonox/objects/worldentities/pawns
- Timestamp:
- Jul 19, 2009, 3:48:00 PM (15 years ago)
- Location:
- code/trunk
- Files:
-
- 4 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/pawns/Destroyer.cc
r3110 r3325 40 40 RegisterObject(Destroyer); 41 41 42 UnderAttack* gametype = dynamic_cast<UnderAttack*>(this->getGametype());42 UnderAttack* gametype = orxonox_cast<UnderAttack*>(this->getGametype()); 43 43 if (gametype) 44 44 { -
code/trunk/src/orxonox/objects/worldentities/pawns/SpaceShip.cc
r3280 r3325 198 198 { 199 199 BaseObject* object = identifier->fabricate(this); 200 this->engine_ = dynamic_cast<Engine*>(object);200 this->engine_ = orxonox_cast<Engine*>(object); 201 201 202 202 if (this->engine_) -
code/trunk/src/orxonox/objects/worldentities/pawns/TeamBaseMatchBase.cc
r3280 r3325 45 45 this->state_ = BaseState::Uncontrolled; 46 46 47 TeamBaseMatch* gametype = dynamic_cast<TeamBaseMatch*>(this->getGametype());47 TeamBaseMatch* gametype = orxonox_cast<TeamBaseMatch*>(this->getGametype()); 48 48 if (gametype) 49 49 { … … 58 58 this->fireEvent(); 59 59 60 TeamDeathmatch* gametype = dynamic_cast<TeamDeathmatch*>(this->getGametype());60 TeamDeathmatch* gametype = orxonox_cast<TeamDeathmatch*>(this->getGametype()); 61 61 if (!gametype) 62 62 return; … … 84 84 if ((*it)->isA(Class(TeamColourable))) 85 85 { 86 TeamColourable* tc = dynamic_cast<TeamColourable*>(*it);86 TeamColourable* tc = orxonox_cast<TeamColourable*>(*it); 87 87 tc->setTeamColour(colour); 88 88 }
Note: See TracChangeset
for help on using the changeset viewer.