diff options
-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") |