1
0
forked from 0ad/0ad

Moved JS Init further to the beginning

This was SVN commit r622.
This commit is contained in:
Simon Brenner 2004-07-04 15:38:18 +00:00
parent 1fc404a12a
commit baa374ae13

View File

@ -600,6 +600,8 @@ PREVTSC=TSC;
_control87(_PC_24, _MCW_PC);
#endif
// Create the scripting host. This needs to be done before the GUI is created.
new ScriptingHost;
detect();
@ -647,9 +649,6 @@ PREVTSC=TSC;
ParseArgs(argc, argv);
// Create the scripting host. This needs to be done before the GUI is created.
new ScriptingHost;
// GUI is notified in set_vmode, so this must come before that.
#ifndef NO_GUI
new CGUI;