summaryrefslogtreecommitdiff
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
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.
-rw-r--r--ChangeLog2
-rw-r--r--src/gui/char_select.cpp3
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 62e207c4..a6d5b1ea 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -13,6 +13,8 @@
src/player.cpp, src/player.h: Merged trunk changes r2381:2397 into
new_animation branch.
* tmw.cbp: Updated Code::Blocks project file.
+ *src/gui/char_select.cpp: Fixed next/previous buttons behaviour in
+ character selection dialog.
2006-07-18 Bjørn Lindeijer <bjorn@lindeijer.nl>
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")