mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-24 13:11:30 +00:00
initialize Sys_Milliseconds early (#3999)
This commit is contained in:
parent
35a27638fe
commit
1072b25ce8
1 changed files with 5 additions and 0 deletions
|
@ -534,6 +534,11 @@ int main( int argc, char **argv )
|
|||
|
||||
Sys_PlatformInit( );
|
||||
|
||||
// Set the initial time base.
|
||||
// If not called here com_frameTime will always be zero.
|
||||
// com_frameTime should be pseudo random.
|
||||
Sys_Milliseconds();
|
||||
|
||||
Sys_ParseArgs( argc, argv );
|
||||
Sys_SetBinaryPath( Sys_Dirname( argv[ 0 ] ) );
|
||||
Sys_SetDefaultInstallPath( DEFAULT_BASEDIR );
|
||||
|
|
Loading…
Reference in a new issue