diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2006-07-19 15:31:23 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2006-07-19 15:31:23 +0000 |
commit | 6b49c4b1acde9fdd5a093a1f0f1dd0b2f753a38c (patch) | |
tree | 066dded3aa2c860ca3f66c1fc06debdda7e61423 | |
parent | 4bcd5ab47c3b5de064c62e31c15bb6b57a5b6db4 (diff) | |
download | mana-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-- | ChangeLog | 2 | ||||
-rw-r--r-- | src/gui/char_select.cpp | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -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") |