- Timestamp:
- Jul 19, 2009, 3:48:00 PM (16 years ago)
- Location:
- code/trunk
- Files:
-
- 2 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/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.