[loading window]It's now a global, and it wasn't even used.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user