mirror of
https://github.com/glest/glest-source.git
synced 2025-02-25 20:22:31 +01:00
maybe we are in pause mode
This commit is contained in:
parent
079dbf808a
commit
30cb3926d5
@ -1742,7 +1742,7 @@ void Game::update() {
|
||||
updateLoops += frameDifference;
|
||||
}
|
||||
// //If client is ahead maybe this fixes it ( by titi ):
|
||||
if(lastNetworkFrameFromServer > 0 && world.getFrameCount() > lastNetworkFrameFromServer && (world.getFrameCount()%gameSettings.getNetworkFramePeriod())==19 ){
|
||||
if(updateLoops!=0 && lastNetworkFrameFromServer > 0 && world.getFrameCount() > lastNetworkFrameFromServer && (world.getFrameCount()%gameSettings.getNetworkFramePeriod())==19 ){
|
||||
printf("Client will slow down because no message has arrived yet. currentFrame=%d \n",world.getFrameCount());
|
||||
updateLoops = 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user