Commit f0e94f09 authored by NY00123's avatar NY00123 Committed by Evan Ramos
Browse files

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.
parent 2d77a818
......@@ -978,13 +978,6 @@ UpdateInputs(void)
void getinput(SW_PACKET *, SWBOOL);
extern SWBOOL BotMode;
timerUpdateClock();
if ((totalclock < ototalclock + synctics))
return;
if (!ready2send)
return;
ototalclock += synctics;
getpackets();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment