initialize Sys_Milliseconds early (#3999)

This commit is contained in:
Ludwig Nussel 2009-03-02 18:08:21 +00:00
parent 35a27638fe
commit 1072b25ce8
1 changed files with 5 additions and 0 deletions

View File

@ -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 );