Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9406 in orxonox.OLD for trunk/src/util/game_rules.cc


Ignore:
Timestamp:
Jul 24, 2006, 11:09:47 AM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: merged the proxy back

merged with commandsvn merge -r9346:HEAD https://svn.orxonox.net/orxonox/branches/proxy .

no conflicts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/util/game_rules.cc

    r9008 r9406  
    2727
    2828
    29 using namespace std;
     29
    3030
    3131
     
    5050  BaseObject::loadParams(root);
    5151
    52   PRINTF(0)("GameRules::loadParams(...) hit me\n");
    5352  LoadParamXML(root, "MissionGoal", this, GameRules, loadMissionGoal)
    5453      .describe("an XML-Element to load the missions from");
     
    5958void GameRules::loadMissionGoal(const TiXmlElement* root)
    6059{
    61   PRINTF(0)("Trying to load MissionGoals\n");
     60  PRINTF(4)("Trying to load MissionGoals\n");
    6261  const TiXmlElement* element = root->FirstChildElement();
    6362  while( element != NULL)
     
    8887void GameRules::registerKill(const Kill& kill)
    8988{
    90   if ( !SharedNetworkData::getInstance()->isGameServer() )
     89  if ( SharedNetworkData::getInstance()->isClient() )
    9190    return;
    9291
    93   PRINTF(0)("Received Event: Kill\n");
     92  PRINTF(4)("Received Event: Kill\n");
    9493
    9594  this->killList.push_back( kill );
Note: See TracChangeset for help on using the changeset viewer.