Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1462


Ignore:
Timestamp:
May 28, 2008, 9:41:17 PM (16 years ago)
Author:
scheusso
Message:

fixed a bug in nacking

File:
1 edited

Legend:

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

    r1432 r1462  
    140140        client = it->second;
    141141      GameState *server = reference;
    142       COUT(3) << "client: " << client << " server: " << server << " gamestatemap: " << &gameStateMap << " size: " << server->size << std::endl;
     142      COUT(4) << "client: " << client << " server: " << server << " gamestatemap: " << &gameStateMap << " size: " << server->size << std::endl;
    143143      if(client)
    144144        return encode(client, server);
     
    472472    if(gamestateID == GAMESTATEID_INITIAL){
    473473      temp->setGameStateID(GAMESTATEID_INITIAL);
    474       --(gameStateUsed.find(curid)->second);
     474      if(curid!=GAMESTATEID_INITIAL)
     475        --(gameStateUsed.find(curid)->second);
    475476      return;
    476477    }
Note: See TracChangeset for help on using the changeset viewer.