From f39dacdb53cd7013eb5c39bdaf099777b581bc8a Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Sat, 28 Jan 2012 17:33:37 +0100 Subject: Make command line choose character only work once Previously it was interfering with the 'switch character' functionality. Reviewed-by: Erik Schilling --- src/client.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/client.cpp') 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: -- cgit v1.2.3-70-g09d2