turns out --game has problems. also update common

This commit is contained in:
AJ Kelly
2010-07-19 20:05:11 -05:00
parent 0d2e98ec95
commit 1d47332cb1
3 changed files with 2 additions and 9 deletions
-8
View File
@@ -1147,14 +1147,6 @@ int main(int argc, char* argv[])
INPUTFILTER = new InputFilter;
INPUTMAPPER = new InputMapper;
RString argGame;
if( GetCommandlineArgument( "game",&argGame) )
{
const Game *g = GAMEMAN->StringToGame(argGame);
if( g && g != GAMESTATE->GetCurrentGame() )
GAMESTATE->SetCurGame(g);
}
StepMania::ChangeCurrentGame( GAMESTATE->GetCurrentGame() );
INPUTQUEUE = new InputQueue;