diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-05-04 23:26:22 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-05-04 23:41:45 +0200 |
commit | 6cacaa3d7f55d91d8b7ca178f8595cc6c6b4383d (patch) | |
tree | a4ae355fe26eda518a5fd82c15347b6cfcf6b7f6 /src/gui/emotecontainer.cpp | |
parent | 1b06ec9f12e3fbfe6fbf6579fb64bb895464badb (diff) | |
download | mana-client-6cacaa3d7f55d91d8b7ca178f8595cc6c6b4383d.tar.gz mana-client-6cacaa3d7f55d91d8b7ca178f8595cc6c6b4383d.tar.bz2 mana-client-6cacaa3d7f55d91d8b7ca178f8595cc6c6b4383d.tar.xz mana-client-6cacaa3d7f55d91d8b7ca178f8595cc6c6b4383d.zip |
Replaced emote window with a new emote popup
The popup is meant to be temporary, showing the emote instantly when you
click on it. It adapts nicely to show any number of emotes.
I still need to add a better way of assigning emote shortcuts, since
currently you can only change which emote is assigned to which shortcut
by actually using it.
Diffstat (limited to 'src/gui/emotecontainer.cpp')
-rw-r--r-- | src/gui/emotecontainer.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gui/emotecontainer.cpp b/src/gui/emotecontainer.cpp index 3003b949..0eee5434 100644 --- a/src/gui/emotecontainer.cpp +++ b/src/gui/emotecontainer.cpp @@ -70,11 +70,7 @@ EmoteContainer::EmoteContainer(): EmoteContainer::~EmoteContainer() { - if (mSelImg) - { - mSelImg->decRef(); - mSelImg = NULL; - } + mSelImg->decRef(); } void EmoteContainer::draw(gcn::Graphics *graphics) |