diff options
author | signde <signde@openttd.org> | 2004-09-14 22:51:37 +0000 |
---|---|---|
committer | signde <signde@openttd.org> | 2004-09-14 22:51:37 +0000 |
commit | 9dcf10eb6c3bc0e06f003c79269d1c4c99b5ab22 (patch) | |
tree | 118d146d5c22439eb93a3b7587fd820f0fe056ce /network.c | |
parent | eaeca76e5aef9a7aad2bbe57142e5fefe0118ff6 (diff) | |
download | openttd-9dcf10eb6c3bc0e06f003c79269d1c4c99b5ab22.tar.xz |
(svn r261) -Workaround: unplayeable network-game on busy maps because of wrong setup of _current_player. This is only a workaround that can cause desyncs too but not that often
Diffstat (limited to 'network.c')
-rw-r--r-- | network.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -353,7 +353,7 @@ static int GetNextSyncFrame() { uint32 newframe; if (_frame_fsync_last == 0) return -5; - newframe = (_frame_fsync_last + 16); + newframe = (_frame_fsync_last + 10); // do not use a multiple of 4 since that screws up sync-packets if ( (newframe + 4) > _frame_counter_max) return -5; return (_frame_counter_max - newframe); |