Changeset 10368 for code/branches/towerdefenseFS15/src/orxonox
- Timestamp:
- Apr 16, 2015, 4:24:41 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/towerdefenseFS15/src/orxonox/controllers/FormationController.cc
r10335 r10368 987 987 } 988 988 989 Team Deathmatch* tdm = orxonox_cast<TeamDeathmatch*>(gametype);989 TeamGametype* tdm = orxonox_cast<TeamGametype*>(gametype); 990 990 if (tdm) 991 991 { … … 995 995 if (entity2->getPlayer()) 996 996 team2 = tdm->getTeam(entity2->getPlayer()); 997 }998 999 Mission* miss = orxonox_cast<Mission*>(gametype);1000 if (miss)1001 {1002 if (entity1->getPlayer())1003 team1 = miss->getTeam(entity1->getPlayer());1004 1005 if (entity2->getPlayer())1006 team2 = miss->getTeam(entity2->getPlayer());1007 997 } 1008 998
Note: See TracChangeset
for help on using the changeset viewer.