diff options
author | Fedja Beader <fedja@protonmail.ch> | 2025-02-03 15:05:29 +0000 |
---|---|---|
committer | Fedja Beader <fedja@protonmail.ch> | 2025-02-03 15:05:29 +0000 |
commit | 78430c4bd86412a4b011632135c4eca71a435a1d (patch) | |
tree | 76ef5e2f1f85eb7b49fcaa481993e386ab71bc9b | |
parent | c84461ec7b38c2b325dfcbf4a85ec148172af33a (diff) | |
download | manaplus-78430c4bd86412a4b011632135c4eca71a435a1d.tar.gz manaplus-78430c4bd86412a4b011632135c4eca71a435a1d.tar.bz2 manaplus-78430c4bd86412a4b011632135c4eca71a435a1d.tar.xz manaplus-78430c4bd86412a4b011632135c4eca71a435a1d.zip |
Fix unable to switch to another character after -D (chooseDefault) is used.
Addendum to !89 (and !117)
Amusing: putting this line before the .clear() grows the exe by 40 bytes.
****
mana/plus!118
-rw-r--r-- | src/progs/manaplus/client.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/progs/manaplus/client.cpp b/src/progs/manaplus/client.cpp index d8ba7e1c2..8696499e5 100644 --- a/src/progs/manaplus/client.cpp +++ b/src/progs/manaplus/client.cpp @@ -1342,6 +1342,7 @@ int Client::gameExec() // Choosing character on the command line should work only // once, clear it so that 'switch character' works. settings.options.character.clear(); + settings.options.chooseDefault = false; BLOCK_END("Client::gameExec State::CHAR_SELECT") break; |