diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/chat.cpp | 1 | ||||
-rw-r--r-- | src/gui/popupmenu.cpp | 1 | ||||
-rw-r--r-- | src/resources/monsterinfo.cpp | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp index 46611b78..7ad727ff 100644 --- a/src/gui/chat.cpp +++ b/src/gui/chat.cpp @@ -70,6 +70,7 @@ class ChatInput : public TextField, public gcn::FocusListener ChatWindow::ChatWindow(): Window(_("Chat")), + mCurrentTab(NULL), mTmpVisible(false) { setWindowName("Chat"); diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp index 5142482f..a78e620d 100644 --- a/src/gui/popupmenu.cpp +++ b/src/gui/popupmenu.cpp @@ -55,6 +55,7 @@ PopupMenu::PopupMenu(): mFloorItem(NULL), mItem(NULL) { + setDefaultSize(0, 0, 0, 0); setResizable(false); setTitleBarHeight(0); setShowTitle(false); diff --git a/src/resources/monsterinfo.cpp b/src/resources/monsterinfo.cpp index 06a6d3b6..91f5aea8 100644 --- a/src/resources/monsterinfo.cpp +++ b/src/resources/monsterinfo.cpp @@ -31,6 +31,7 @@ MonsterInfo::~MonsterInfo() { // kill vectors in mSoundEffects delete_all(mSounds); + delete_all(mMonsterAttacks); mSounds.clear(); } |