diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-07 03:36:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-07 03:36:16 +0300 |
commit | 4a75777b773ebf5ec2a45cc8718a646698fd37ca (patch) | |
tree | 075842cc283731cdae20b3339d0b21689fe61d12 | |
parent | 7d151c8fc05cd7feaf1e1cee33fd8289208fa18d (diff) | |
download | ManaVerse-4a75777b773ebf5ec2a45cc8718a646698fd37ca.tar.gz ManaVerse-4a75777b773ebf5ec2a45cc8718a646698fd37ca.tar.bz2 ManaVerse-4a75777b773ebf5ec2a45cc8718a646698fd37ca.tar.xz ManaVerse-4a75777b773ebf5ec2a45cc8718a646698fd37ca.zip |
Fix special emote detection.
-rw-r--r-- | src/being.cpp | 2 |
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); |