diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-05-03 11:33:46 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-05-03 11:37:00 +0200 |
commit | ec98056c4262b6a491e2467ca0accb85ed8f0788 (patch) | |
tree | d5b3ffb6daaa68c81523f13cfc2a3caf6c04890f /src/main.cpp | |
parent | 91242cdfe50922e7258a04743bd940956c0453da (diff) | |
download | mana-ec98056c4262b6a491e2467ca0accb85ed8f0788.tar.gz mana-ec98056c4262b6a491e2467ca0accb85ed8f0788.tar.bz2 mana-ec98056c4262b6a491e2467ca0accb85ed8f0788.tar.xz mana-ec98056c4262b6a491e2467ca0accb85ed8f0788.zip |
Don't choose default character server when given a character name
Just cause a character name was given on the command line doesn't mean
we should pick any random character server. For the latter we have -D.
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 6721b8f0..9c8e2dca 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1426,8 +1426,7 @@ int main(int argc, char *argv[]) nextState); positionDialog(currentDialog, screenWidth, screenHeight); - if (options.chooseDefault - || !options.character.empty()) + if (options.chooseDefault) { ((ServerSelectDialog*) currentDialog)->action( gcn::ActionEvent(NULL, "ok")); |