- Timestamp:
- Nov 26, 2011, 6:22:13 PM (13 years ago)
- Location:
- code/trunk/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/network/MasterServer.cc
r8937 r8952 87 87 88 88 /* force-disconnect the server */ 89 enet_peer_disconnect( shandle.result.peer, NULL);89 enet_peer_disconnect( shandle.result.peer, 0 ); 90 90 91 91 /* actually remove the entry from the server list by address */ -
code/trunk/src/libraries/network/packet/Gamestate.cc
r8858 r8952 532 532 assert(origHeader.getDataSize() < 500); 533 533 534 bool diffedObject = false;535 534 if( findObject(baseDataPtr, baseDataEnd, origHeader) ) 536 535 { … … 543 542 // orxout(verbose, context::packets) << "diffing object in order: " << Synchronisable::getSynchronisable(origHeader.getObjectID())->getIdentifier()->getName() << endl; 544 543 diffObject(destDataPtr, origDataPtr, baseDataPtr, origHeader, sizesIt); 545 diffedObject = true;546 544 } 547 545 else … … 567 565 // orxout(verbose, context::packets) << "diffing object out of order: " << Synchronisable::getSynchronisable(origHeader.getObjectID())->getIdentifier()->getName() << endl; 568 566 diffObject(destDataPtr, origDataPtr, baseDataPtr, origHeader, sizesIt); 569 diffedObject = true;570 567 } 571 568 else -
code/trunk/src/modules/pong/PongAI.cc
r8729 r8952 164 164 if (!this->bChangedRandomOffset_) 165 165 { 166 float timetohit = (- this->ball_->getPosition().x + this->ball_->getFieldDimension().x / 2 * sgn(this->ball_->getVelocity().x)) / this->ball_->getVelocity().x;166 float timetohit = (-ballpos.x + this->ball_->getFieldDimension().x / 2 * sgn(ballvel.x)) / ballvel.x; 167 167 if (timetohit < 0.05) 168 168 { -
code/trunk/src/modules/questsystem/QuestManager.cc
r8891 r8952 97 97 if(quest == NULL) 98 98 { 99 COUT(1) << "Quest pointer is NULL." << endl;99 orxout(internal_error, context::quests) << "Quest pointer is NULL." << endl; 100 100 return false; 101 101 } … … 139 139 if(hint == NULL) 140 140 { 141 COUT(1) << "Hint pointer is NULL." << endl;141 orxout(internal_error, context::quests) << "Quest pointer is NULL." << endl; 142 142 return false; 143 143 } -
code/trunk/src/orxonox/gametypes/TeamBaseMatch.cc
r8858 r8952 101 101 if (pawn1 && base) 102 102 { 103 std::map<PlayerInfo*, int>::const_iterator it1 = this->teamnumbers_.find(pawn1->getPlayer());104 103 int teamnrbase = -1; 105 104 int teamnrplayer = this->getTeam(pawn1->getPlayer());
Note: See TracChangeset
for help on using the changeset viewer.