diff options
Diffstat (limited to 'plugins/SmileyAdd/src/AniSmileyObject.cpp')
-rw-r--r-- | plugins/SmileyAdd/src/AniSmileyObject.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/SmileyAdd/src/AniSmileyObject.cpp b/plugins/SmileyAdd/src/AniSmileyObject.cpp index 90a04df8fa..c437b9ab5a 100644 --- a/plugins/SmileyAdd/src/AniSmileyObject.cpp +++ b/plugins/SmileyAdd/src/AniSmileyObject.cpp @@ -71,8 +71,10 @@ public: void UnloadSmiley()
{
- if (m_bRegistered)
+ if (m_bRegistered) {
m_sml->RemoveObject(this);
+ m_bRegistered = false;
+ }
if (m_img != NULL) {
m_img->Release();
|