Changeset 2953 for code/branches/netp2/src/network/Server.cc
- Timestamp:
- May 4, 2009, 5:04:58 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/netp2/src/network/Server.cc
r2949 r2953 155 155 processQueue(); 156 156 //this steers our network frequency 157 timeSinceLastUpdate_+=time;158 if(timeSinceLastUpdate_>=NETWORK_PERIOD){157 // timeSinceLastUpdate_+=time; 158 // if(timeSinceLastUpdate_>=NETWORK_PERIOD){ 159 159 timeSinceLastUpdate_ -= static_cast<unsigned int>( timeSinceLastUpdate_ / NETWORK_PERIOD ) * NETWORK_PERIOD; 160 160 gamestates_->processGamestates(); 161 161 updateGamestate(); 162 162 FunctionCallManager::sendCalls(); 163 }163 // } 164 164 } 165 165
Note: See TracChangeset
for help on using the changeset viewer.