NSIS is only used on Windows.

This commit is contained in:
Ben Anderson
2006-06-15 02:21:47 +00:00
parent 628fb4f0a3
commit 38a7ff109e
+5
View File
@@ -1115,10 +1115,15 @@ int main(int argc, char* argv[])
NSMAN->DisplayStartupStatus(); // If we're using networking show what happened NSMAN->DisplayStartupStatus(); // If we're using networking show what happened
/* Run the main loop. */ /* Run the main loop. */
#if defined(WIN32)
if( GetCommandlineArgument("ExportNsisStrings") ) if( GetCommandlineArgument("ExportNsisStrings") )
// XXX Nullsoft Scriptable Installation System?
ExportNsisStrings::Do(); ExportNsisStrings::Do();
else else
GameLoop::RunGameLoop(); GameLoop::RunGameLoop();
#else
GameLoop::RunGameLoop();
#endif
/* If we ended mid-game, finish up. */ /* If we ended mid-game, finish up. */
GAMESTATE->EndGame(); GAMESTATE->EndGame();