From 0284a1c9b62b0b9fa2cbc2a59f1dd1014c708f89 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Tue, 17 Feb 2009 16:09:36 +0000 Subject: Fix small bug in character select dialog That check can probably be removed entirely, as it's inappropriate. --- src/gui/char_select.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/char_select.cpp') 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); } -- cgit v1.2.3-70-g09d2