diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-01-28 17:33:37 +0100 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-01-28 21:07:11 +0300 |
commit | f39dacdb53cd7013eb5c39bdaf099777b581bc8a (patch) | |
tree | 76d1976e07208b934cf96beb5f2e2e1ecda3f317 /src | |
parent | a93722a53e2d50466dfd5512c4a6a1c3dfc60fb1 (diff) | |
download | manaverse-f39dacdb53cd7013eb5c39bdaf099777b581bc8a.tar.gz manaverse-f39dacdb53cd7013eb5c39bdaf099777b581bc8a.tar.bz2 manaverse-f39dacdb53cd7013eb5c39bdaf099777b581bc8a.tar.xz manaverse-f39dacdb53cd7013eb5c39bdaf099777b581bc8a.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')
-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 c51dffa9e..017bcadb4 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -1232,6 +1232,10 @@ int Client::gameExec() 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: |