diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/char_select.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/char_select.cpp b/src/gui/char_select.cpp index ae78b384..bad6d8de 100644 --- a/src/gui/char_select.cpp +++ b/src/gui/char_select.cpp @@ -148,11 +148,11 @@ void CharSelectDialog::action(const gcn::ActionEvent &event) else if (event.getId() == "newdel") { // Check for a character - if (mCharInfo->getEntry() && n_character <= MAX_SLOT + 1) + if (mCharInfo->getEntry()) { new CharDeleteConfirm(this); } - else + else if (n_character <= MAX_SLOT) { // Start new character dialog CharCreateDialog *charCreateDialog = |