[loading window]It's now a global, and it wasn't even used.

This commit is contained in:
Henrik Andersson
2011-06-04 23:10:07 +02:00
parent 813c2d8f09
commit 9bff0653c0
3 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ static void Version()
#endif // WIN32
}
void CommandLineActions::Handle(LoadingWindow* pLW)
void CommandLineActions::Handle()
{
CommandLineArgs args;
for(int i=0; i<g_argc; ++i)
+2 -3
View File
@@ -7,9 +7,8 @@ class LoadingWindow;
namespace CommandLineActions
{
/**
* @brief Perform a utility function, then exit.
* @param pLW the LoadingWindow that is presently not used? */
void Handle(LoadingWindow* pLW);
* @brief Perform a utility function, then exit. */
void Handle();
/** @brief The housing for the command line arguments. */
class CommandLineArgs
+1 -1
View File
@@ -1037,7 +1037,7 @@ int main(int argc, char* argv[])
// Switch to the last used game type, and set up the theme and announcer.
SwitchToLastPlayedGame();
CommandLineActions::Handle(pLoadingWindow);
CommandLineActions::Handle();
if( GetCommandlineArgument("dopefish") )
GAMESTATE->m_bDopefish = true;