summaryrefslogtreecommitdiff
path: root/src/gui/char_select.cpp
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2006-07-19 15:31:23 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2006-07-19 15:31:23 +0000
commit6b49c4b1acde9fdd5a093a1f0f1dd0b2f753a38c (patch)
tree066dded3aa2c860ca3f66c1fc06debdda7e61423 /src/gui/char_select.cpp
parent4bcd5ab47c3b5de064c62e31c15bb6b57a5b6db4 (diff)
downloadmana-6b49c4b1acde9fdd5a093a1f0f1dd0b2f753a38c.tar.gz
mana-6b49c4b1acde9fdd5a093a1f0f1dd0b2f753a38c.tar.bz2
mana-6b49c4b1acde9fdd5a093a1f0f1dd0b2f753a38c.tar.xz
mana-6b49c4b1acde9fdd5a093a1f0f1dd0b2f753a38c.zip
Fixed next/previous buttons behaviour in character selection dialog.
Diffstat (limited to 'src/gui/char_select.cpp')
-rw-r--r--src/gui/char_select.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/char_select.cpp b/src/gui/char_select.cpp
index a1ce5dec..801b0ffe 100644
--- a/src/gui/char_select.cpp
+++ b/src/gui/char_select.cpp
@@ -148,8 +148,9 @@ void CharSelectDialog::action(const std::string& eventId)
if (n_character < MAX_SLOT + 1)
{
// Start new character dialog
- new CharCreateDialog(this, mCharInfo->getPos(), mNetwork, mSex);
mCharInfo->lock();
+ new CharCreateDialog(this, mCharInfo->getPos(), mNetwork, mSex);
+ mCharInfo->unlock();
}
}
else if (eventId == "delete")