* (bug #4346) Dedicated server uses 100% CPU when stdin is not a TTY
* com_speeds reports misleading values on dedicated server (Guillaume Bougard)
This commit is contained in:
1 parent
fa2a698aa3
commit
78df7a1de4
3 files changed
+38
-15
No files matched your search
@@ -3065,6 +3065,12 @@ void Com_Frame( void ) {
|
||||
if ( com_speeds->integer ) {
|
||||
timeAfter = Sys_Milliseconds ();
|
||||
}
|
||||
#else
|
||||
if ( com_speeds->integer ) {
|
||||
timeAfter = Sys_Milliseconds ();
|
||||
timeBeforeEvents = timeAfter;
|
||||
timeBeforeClient = timeAfter;
|
||||
}
|
||||
#endif
|
||||
|
||||
//
|
||||
|
||||
Reference in new issue
Block a user