diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-02-17 16:09:36 +0000 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-02-17 16:09:36 +0000 |
commit | 0284a1c9b62b0b9fa2cbc2a59f1dd1014c708f89 (patch) | |
tree | 7bb393969427b95f3873dfa928f9ae9f6d8a2290 /src/gui/char_select.cpp | |
parent | 1631d1781668eb04dd125007725af3da1be7d9a3 (diff) | |
download | mana-0284a1c9b62b0b9fa2cbc2a59f1dd1014c708f89.tar.gz mana-0284a1c9b62b0b9fa2cbc2a59f1dd1014c708f89.tar.bz2 mana-0284a1c9b62b0b9fa2cbc2a59f1dd1014c708f89.tar.xz mana-0284a1c9b62b0b9fa2cbc2a59f1dd1014c708f89.zip |
Fix small bug in character select dialog
That check can probably be removed entirely, as it's inappropriate.
Diffstat (limited to 'src/gui/char_select.cpp')
-rw-r--r-- | src/gui/char_select.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/char_select.cpp b/src/gui/char_select.cpp index 208e3b56..894d2828 100644 --- a/src/gui/char_select.cpp +++ b/src/gui/char_select.cpp @@ -151,7 +151,7 @@ void CharSelectDialog::action(const gcn::ActionEvent &event) else if (event.getId() == "newdel") { // Check for a character - if (mCharInfo->getEntry() && n_character <= MAX_SLOT ) + if (mCharInfo->getEntry() && n_character <= MAX_SLOT + 1) { new CharDeleteConfirm(this); } |