summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-02-17 16:09:36 +0000
committerIra Rice <irarice@gmail.com>2009-02-17 19:03:18 -0700
commit218303948fa3aa3fd139b47e303ed1f7c7cfd802 (patch)
treea9fe00617f2772a1c64f1da24b6f815dbcc0028c /src
parentdc1f3ec3ec7d27f00b39316eed1a73bcfc4bf2df (diff)
downloadMana-218303948fa3aa3fd139b47e303ed1f7c7cfd802.tar.gz
Mana-218303948fa3aa3fd139b47e303ed1f7c7cfd802.tar.bz2
Mana-218303948fa3aa3fd139b47e303ed1f7c7cfd802.tar.xz
Mana-218303948fa3aa3fd139b47e303ed1f7c7cfd802.zip
Fix small bug in character select dialog
That check can probably be removed entirely, as it's inappropriate.
Diffstat (limited to 'src')
-rw-r--r--src/gui/char_select.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/char_select.cpp b/src/gui/char_select.cpp
index 9d5855ec..ae78b384 100644
--- a/src/gui/char_select.cpp
+++ b/src/gui/char_select.cpp
@@ -148,7 +148,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);
}