* (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:
parent
fa2a698aa3
commit
78df7a1de4
3 changed files with 38 additions and 15 deletions
|
@ -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
|
||||
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue