summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
Diffstat (limited to 'src/being')
-rw-r--r--src/being/being.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 4e6c603d3..f85460c79 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -3072,6 +3072,11 @@ void Being::setEmote(const uint8_t emotion, const int emote_time)
else
mEmotionTime = emote_time;
}
+ const int effectId = info->effectId;
+ if (effectId >= 0)
+ {
+ effectManager->trigger(effectId, this);
+ }
}
}