Changeset 3183 for code/branches/pch/src/orxonox/objects/gametypes
- Timestamp:
- Jun 15, 2009, 10:48:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pch/src/orxonox/objects/gametypes/TeamDeathmatch.cc
r3177 r3183 31 31 #include "core/CoreIncludes.h" 32 32 #include "core/ConfigValueIncludes.h" 33 #include "interfaces/Team colourable.h"33 #include "interfaces/TeamColourable.h" 34 34 #include "objects/worldentities/TeamSpawnPoint.h" 35 35 … … 168 168 for (std::set<WorldEntity*>::iterator it = pawnAttachments.begin(); it != pawnAttachments.end(); ++it) 169 169 { 170 if ((*it)->isA(Class(Team colourable)))170 if ((*it)->isA(Class(TeamColourable))) 171 171 { 172 Team colourable* tc = dynamic_cast<Teamcolourable*>(*it);172 TeamColourable* tc = dynamic_cast<TeamColourable*>(*it); 173 173 tc->setTeamColour(this->teamcolours_[it_player->second]); 174 174 }
Note: See TracChangeset
for help on using the changeset viewer.