guess I was wrong, --game doesn't fully work. ...again.

This commit is contained in:
AJ Kelly
2010-06-27 20:06:42 -05:00
parent f562ac40af
commit ea842d0c1f
2 changed files with 0 additions and 11 deletions
-10
View File
@@ -1147,16 +1147,6 @@ int main(int argc, char* argv[])
INPUTFILTER = new InputFilter;
INPUTMAPPER = new InputMapper;
// allow the player to pass in a gametype via command line. -aj
RString argGame;
const Game* g = GAMESTATE->GetCurrentGame();
if( GetCommandlineArgument( "game",&argGame) )
{
// we need to perform some conversion surgery
const Game* newG = GAMEMAN->StringToGame(argGame);
if(newG && newG != g)
g = newG;
}
StepMania::ChangeCurrentGame( g );
INPUTQUEUE = new InputQueue;