Improve client input responsiveness
Move sampling input to the other side of framerate limiter. Thanks to Alexander "wareya" Nadeau and Juraj "youurayy" Vitko for pointing this out.
This commit is contained in:
1 parent
34d0b78754
commit
ead54782d0
3 files changed
+10
-1
No files matched your search
@@ -3162,6 +3162,8 @@ void Com_Frame( void ) {
|
||||
NET_Sleep(timeVal - 1);
|
||||
} while(Com_TimeVal(minMsec));
|
||||
|
||||
IN_Frame();
|
||||
|
||||
lastTime = com_frameTime;
|
||||
com_frameTime = Com_EventLoop();
|
||||
|
||||
|
||||
Reference in new issue
Block a user