Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 4, 2009, 5:04:58 PM (16 years ago)
Author:
scheusso
Message:

some changes for testing purpose

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/netp2/src/network/Server.cc

    r2949 r2953  
    155155    processQueue();
    156156    //this steers our network frequency
    157     timeSinceLastUpdate_+=time;
    158     if(timeSinceLastUpdate_>=NETWORK_PERIOD){
     157//     timeSinceLastUpdate_+=time;
     158//     if(timeSinceLastUpdate_>=NETWORK_PERIOD){
    159159      timeSinceLastUpdate_ -= static_cast<unsigned int>( timeSinceLastUpdate_ / NETWORK_PERIOD ) * NETWORK_PERIOD;
    160160      gamestates_->processGamestates();
    161161      updateGamestate();
    162162      FunctionCallManager::sendCalls();
    163     }
     163//     }
    164164  }
    165165
Note: See TracChangeset for help on using the changeset viewer.