guess I was wrong, --game doesn't fully work. ...again.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user