(svn r268) -Fix: console-command: script command now stops recording correctly

-Fix: network client should not stop sending ready packets anymore [client should not timeout without any reason]
This commit is contained in:
signde
2004-09-16 06:17:50 +00:00
parent cbcf002a91
commit 25b5a727e8
2 changed files with 3 additions and 5 deletions

View File

@@ -352,9 +352,8 @@ static void QueueClear(CommandQueue *nq)
static int GetNextSyncFrame()
{
uint32 newframe;
if (_frame_fsync_last == 0) return -5;
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;
if (_frame_fsync_last == 0) return -11;
newframe = (_frame_fsync_last + 11); // do not use a multiple of 4 since that screws up sync-packets
return (_frame_counter_max - newframe);
}