Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1481


Ignore:
Timestamp:
May 29, 2008, 11:13:40 AM (16 years ago)
Author:
dumenim
Message:

checked for nullpointer in popGamestate

Location:
code/branches/network/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network/src/network/GameStateClient.cc

    r1464 r1481  
    9999  GameStateCompressed *GameStateClient::popPartialGameState(){
    100100    GameState *gs = getPartialSnapshot();
     101    if(!gs)
     102      return NULL;
    101103    GameStateCompressed *cgs = compress_(gs);
    102104    delete[] gs->data;
  • code/branches/network/src/orxonox/objects/SpaceShip.cc

    r1479 r1481  
    150150          myShip_=true;
    151151        else
    152           HUD::getSingleton().addRadarObject(this->getNode(), 2);
     152          HUD::getSingleton().addRadarObject(this->getNode(), 3);
    153153      }
    154154      if(Model::create())
Note: See TracChangeset for help on using the changeset viewer.