Changeset 9907 in orxonox.OLD for branches/network/src/util
- Timestamp:
- Oct 28, 2006, 10:52:35 PM (18 years ago)
- Location:
- branches/network/src/util
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/util/game_rules.cc
r9869 r9907 65 65 PRINTF(4)("Adding Mission Goal:%s\n", element->Value()); 66 66 BaseObject* created = Factory::fabricate(element); 67 if (created != NULL /*&& created->isA( CL_GAME_RULES)*/)67 if (created != NULL /*&& created->isA(GameRules::staticClassID())*/) 68 68 { 69 69 MissionGoal* mg = dynamic_cast<MissionGoal*>(created); -
branches/network/src/util/multiplayer_team_deathmatch.cc
r9869 r9907 499 499 500 500 assert( bo != NULL ); 501 assert( bo->isA( CL_PLAYABLE) );501 assert( bo->isA( Playable::staticClassID() ) ); 502 502 503 503 Playable & playable = *(dynamic_cast<Playable*>(bo));
Note: See TracChangeset
for help on using the changeset viewer.