fixed error in which we had two duplicate -p options; the port option would not work (not that netplay even works)

This commit is contained in:
punkrockguy318 2008-06-18 01:12:15 +00:00
parent 0b7bf686a7
commit aabdacab84
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ InitConfig()
config->addOption('u', "user", "SDL.NetworkUsername", ""); config->addOption('u', "user", "SDL.NetworkUsername", "");
config->addOption('w', "pass", "SDL.NetworkPassword", ""); config->addOption('w', "pass", "SDL.NetworkPassword", "");
config->addOption('k', "netkey", "SDL.NetworkGameKey", ""); config->addOption('k', "netkey", "SDL.NetworkGameKey", "");
config->addOption('p', "port", "SDL.NetworkPort", 0xFCE); config->addOption( 0, "port", "SDL.NetworkPort", 4046);
config->addOption('l', "players", "SDL.NetworkNumPlayers", 1); config->addOption('l', "players", "SDL.NetworkNumPlayers", 1);
// input configuration options // input configuration options