summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-07 03:36:16 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-07 03:36:16 +0300
commit4a75777b773ebf5ec2a45cc8718a646698fd37ca (patch)
tree075842cc283731cdae20b3339d0b21689fe61d12
parent7d151c8fc05cd7feaf1e1cee33fd8289208fa18d (diff)
downloadmanaverse-4a75777b773ebf5ec2a45cc8718a646698fd37ca.tar.gz
manaverse-4a75777b773ebf5ec2a45cc8718a646698fd37ca.tar.bz2
manaverse-4a75777b773ebf5ec2a45cc8718a646698fd37ca.tar.xz
manaverse-4a75777b773ebf5ec2a45cc8718a646698fd37ca.zip
Fix special emote detection.
-rw-r--r--src/being.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp
index 4e4b64061..c65b1c517 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -2314,7 +2314,7 @@ void Being::saveComment(const std::string &name,
void Being::setEmote(Uint8 emotion, int emote_time)
{
- if (emotion & FLAG_SPECIAL)
+ if ((emotion & FLAG_SPECIAL) == FLAG_SPECIAL)
{
mAdvanced = true;
mShop = (emotion & FLAG_SHOP);