Changeset 1758 for code/trunk/src/network
- Timestamp:
- Sep 10, 2008, 11:09:43 AM (16 years ago)
- Location:
- code/trunk/src/network
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/network/GamestateClient.cc
r1751 r1758 131 131 132 132 bool GamestateClient::saveShipCache(){ 133 if(myShip_==NULL) 133 if(myShip_==NULL){ 134 134 myShip_ = orxonox::SpaceShip::getLocalShip(); 135 if(!myShip_) 136 return false; 137 } 135 138 if(myShip_){ 136 139 // unsigned char *data = new unsigned char[myShip_->getSize()]; -
code/trunk/src/network/Synchronisable.cc
r1755 r1758 98 98 classID = *(unsigned int*)(mem+2*sizeof(unsigned int)); 99 99 100 if(size==3*sizeof(unsigned int)) //not our turn, dont do anything 100 if(size==3*sizeof(unsigned int)){ //not our turn, dont do anything 101 mem+=3*sizeof(unsigned int); 101 102 return true; 103 } 102 104 103 105 orxonox::Identifier* id = GetIdentifier(classID); -
code/trunk/src/network/packet/Packet.cc
r1751 r1758 30 30 #include <enet/enet.h> 31 31 #include <boost/bind.hpp> 32 #include <assert.h> 32 33 33 34 #include "Packet.h"
Note: See TracChangeset
for help on using the changeset viewer.