diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-01-28 17:33:37 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-01-28 19:02:27 +0100 |
commit | afdb517a87836995de7a94921cb2bfb2f9a2d56a (patch) | |
tree | 774a45a954934d6e5716dbc30787043c69a78dc0 /src/client.cpp | |
parent | 58bbdf06cb800100e322d8b59e80d7e1631a0313 (diff) | |
download | mana-afdb517a87836995de7a94921cb2bfb2f9a2d56a.tar.gz mana-afdb517a87836995de7a94921cb2bfb2f9a2d56a.tar.bz2 mana-afdb517a87836995de7a94921cb2bfb2f9a2d56a.tar.xz mana-afdb517a87836995de7a94921cb2bfb2f9a2d56a.zip |
Make command line choose character only work once
Previously it was interfering with the 'switch character' functionality.
Reviewed-by: Erik Schilling
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp index a4dd35eb..1fa36d48 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -827,6 +827,10 @@ int Client::exec() CharSelectDialog::Focus); } + // Choosing character on the command line should work only + // once, clear it so that 'switch character' works. + mOptions.character.clear(); + break; case STATE_CONNECT_GAME: |