From 6b5cf9525bf6a0e7dd1dbab910ffc65c83126c8e Mon Sep 17 00:00:00 2001 From: NY00123 Date: Fri, 22 May 2020 02:13:54 +0300 Subject: [PATCH] sw/src/network.cpp: Remove from UpdateInputs the checks of totalclock and ready2send and the call to timerUpdateClock, which are now done before calling UpdateInputs itself from RunLevel. # Conflicts: # source/sw/src/network.cpp --- source/sw/src/network.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/source/sw/src/network.cpp b/source/sw/src/network.cpp index e41243188..85f51f3fd 100644 --- a/source/sw/src/network.cpp +++ b/source/sw/src/network.cpp @@ -933,13 +933,6 @@ UpdateInputs(void) PLAYERp pp; extern SWBOOL BotMode; - timerUpdate(); - if ((totalclock < ototalclock + synctics)) - return; - - if (!ready2send) - return; - ototalclock += synctics; getpackets();