reorder DumpDebugInfo
This commit is contained in:
@@ -470,11 +470,8 @@ int main(int argc, char* argv[])
|
|||||||
|
|
||||||
loading_window->Paint();
|
loading_window->Paint();
|
||||||
|
|
||||||
// changed to use time. GetTimeSinceStart is silly because it always return 0! -Chris
|
|
||||||
srand( time(NULL) ); // seed number generator
|
srand( time(NULL) ); // seed number generator
|
||||||
|
|
||||||
HOOKS->DumpDebugInfo();
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Create game objects
|
// Create game objects
|
||||||
//
|
//
|
||||||
@@ -484,6 +481,10 @@ int main(int argc, char* argv[])
|
|||||||
if( PREFSMAN->m_bShowLogWindow )
|
if( PREFSMAN->m_bShowLogWindow )
|
||||||
LOG->ShowConsole();
|
LOG->ShowConsole();
|
||||||
|
|
||||||
|
/* This should be done after PREFSMAN is set up, so it can use HOOKS->MessageBoxOK,
|
||||||
|
* but before we do more complex things that might crash. */
|
||||||
|
HOOKS->DumpDebugInfo();
|
||||||
|
|
||||||
LOG->SetLogging( PREFSMAN->m_bLogging );
|
LOG->SetLogging( PREFSMAN->m_bLogging );
|
||||||
|
|
||||||
CheckSettings();
|
CheckSettings();
|
||||||
|
|||||||
Reference in New Issue
Block a user