diff options
Diffstat (limited to 'src/gui/charselectdialog.h')
-rw-r--r-- | src/gui/charselectdialog.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/charselectdialog.h b/src/gui/charselectdialog.h index d16453a6..e2803cfc 100644 --- a/src/gui/charselectdialog.h +++ b/src/gui/charselectdialog.h @@ -66,7 +66,12 @@ class CharSelectDialog : public Window, public gcn::ActionListener, bool selectByName(const std::string &name); - void chooseSelected(); + /** + * Send selection to character server + * @return false if the selection or the number of existing character + * is empty. + */ + bool chooseSelected(); void update(int slot = -1); |