Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9907 in orxonox.OLD for branches/network/src/util


Ignore:
Timestamp:
Oct 28, 2006, 10:52:35 PM (18 years ago)
Author:
rennerc
Message:

less debug - network seems to work again

Location:
branches/network/src/util
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/util/game_rules.cc

    r9869 r9907  
    6565    PRINTF(4)("Adding Mission Goal:%s\n", element->Value());
    6666    BaseObject* created = Factory::fabricate(element);
    67     if (created != NULL /*&& created->isA(CL_GAME_RULES)*/)
     67    if (created != NULL /*&& created->isA(GameRules::staticClassID())*/)
    6868    {
    6969      MissionGoal* mg = dynamic_cast<MissionGoal*>(created);
  • branches/network/src/util/multiplayer_team_deathmatch.cc

    r9869 r9907  
    499499
    500500  assert( bo != NULL );
    501   assert( bo->isA( CL_PLAYABLE ) );
     501  assert( bo->isA( Playable::staticClassID() ) );
    502502
    503503  Playable & playable = *(dynamic_cast<Playable*>(bo));
Note: See TracChangeset for help on using the changeset viewer.