Changeset 8327 for code/trunk/src/orxonox/gametypes/Dynamicmatch.cc
- Timestamp:
- Apr 25, 2011, 8:22:36 PM (13 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/network6 (added) merged: 7823-7825,7875,7878,7881-7882,7898,7900,7931,8315
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/gametypes/Dynamicmatch.cc
r7284 r8327 452 452 if (!it->first)//in order to catch nullpointer 453 453 continue; 454 if (it->first->getClientID() == CLIENTID_UNKNOWN)454 if (it->first->getClientID() == NETWORK_PEER_ID_UNKNOWN) 455 455 continue; 456 456 this->gtinfo_->sendStaticMessage("Selection phase: Shoot at everything that moves.",it->first->getClientID(),ColourValue(1.0f, 1.0f, 0.5f)); … … 467 467 if (!it->first)//in order to catch nullpointer 468 468 continue; 469 if (it->first->getClientID() == CLIENTID_UNKNOWN)469 if (it->first->getClientID() == NETWORK_PEER_ID_UNKNOWN) 470 470 continue; 471 471 else if (it->second==chaser) … … 501 501 if (!it->first)//in order to catch nullpointer 502 502 continue; 503 if (it->first->getClientID() == CLIENTID_UNKNOWN)503 if (it->first->getClientID() == NETWORK_PEER_ID_UNKNOWN) 504 504 continue; 505 505 this->gtinfo_->sendStaticMessage("Selection phase: Shoot at everything that moves.",it->first->getClientID(),ColourValue(1.0f, 1.0f, 0.5f)); … … 516 516 if (!it->first) 517 517 continue; 518 if (it->first->getClientID() == CLIENTID_UNKNOWN)518 if (it->first->getClientID() == NETWORK_PEER_ID_UNKNOWN) 519 519 continue; 520 520 else if (it->second==chaser) … … 551 551 if (!it->first)//in order to catch nullpointer 552 552 continue; 553 if (it->first->getClientID() == CLIENTID_UNKNOWN)553 if (it->first->getClientID() == NETWORK_PEER_ID_UNKNOWN) 554 554 continue; 555 555 this->gtinfo_->sendStaticMessage("Selection phase: Shoot at everything that moves.",it->first->getClientID(),ColourValue(1.0f, 1.0f, 0.5f)); … … 566 566 if (!it->first) 567 567 continue; 568 if (it->first->getClientID() == CLIENTID_UNKNOWN)568 if (it->first->getClientID() == NETWORK_PEER_ID_UNKNOWN) 569 569 continue; 570 570 else if (it->second==chaser) … … 632 632 for (std::map<PlayerInfo*, int>::iterator it = this->playerParty_.begin(); it != this->playerParty_.end(); ++it) 633 633 { 634 if (it->first->getClientID() == CLIENTID_UNKNOWN)634 if (it->first->getClientID() == NETWORK_PEER_ID_UNKNOWN) 635 635 continue; 636 636 this->gtinfo_->sendStaticMessage("Selection phase: Shoot at everything that moves.",it->first->getClientID(),ColourValue(1.0f, 1.0f, 0.5f));
Note: See TracChangeset
for help on using the changeset viewer.