guess I was wrong, --game doesn't fully work. ...again.
This commit is contained in:
@@ -13,7 +13,6 @@ _____________________________________________________________________________
|
||||
--------
|
||||
* [NotesLoaderKSF] Support reading of #PLAYER and #MUSICINTRO/#INTRO tags in
|
||||
KSF files. [based on code by Aldo_MX]
|
||||
* Added --game= command line option.
|
||||
* Adjust KB7 draw order which still seems wrong, change noteskin.
|
||||
Use default-p2 and join as player 2 to play with original spacing. [shakesoda]
|
||||
|
||||
|
||||
@@ -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