Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 10, 2008, 11:09:43 AM (16 years ago)
Author:
scheusso
Message:

cant remember ;)

Location:
code/trunk/src/network
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/network/GamestateClient.cc

    r1751 r1758  
    131131
    132132  bool GamestateClient::saveShipCache(){
    133     if(myShip_==NULL)
     133    if(myShip_==NULL){
    134134      myShip_ = orxonox::SpaceShip::getLocalShip();
     135      if(!myShip_)
     136        return false;
     137    }
    135138    if(myShip_){
    136139      //      unsigned char *data = new unsigned char[myShip_->getSize()];
  • code/trunk/src/network/Synchronisable.cc

    r1755 r1758  
    9898    classID = *(unsigned int*)(mem+2*sizeof(unsigned int));
    9999   
    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);
    101102      return true;
     103    }
    102104   
    103105    orxonox::Identifier* id = GetIdentifier(classID);
  • code/trunk/src/network/packet/Packet.cc

    r1751 r1758  
    3030#include <enet/enet.h>
    3131#include <boost/bind.hpp>
     32#include <assert.h>
    3233
    3334#include "Packet.h"
Note: See TracChangeset for help on using the changeset viewer.