diff options
author | David Athay <ko2fan@gmail.com> | 2009-04-28 16:26:34 +0100 |
---|---|---|
committer | David Athay <ko2fan@gmail.com> | 2009-04-28 16:26:34 +0100 |
commit | c6ecbbecfeffe935a77bd79754cb59fbd1446a3e (patch) | |
tree | 452629d1f366c71104a91eec53777bc6474a5188 /src/net/ea | |
parent | a61c874163985efd6f293ac10f0140deeeb22a20 (diff) | |
download | mana-client-c6ecbbecfeffe935a77bd79754cb59fbd1446a3e.tar.gz mana-client-c6ecbbecfeffe935a77bd79754cb59fbd1446a3e.tar.bz2 mana-client-c6ecbbecfeffe935a77bd79754cb59fbd1446a3e.tar.xz mana-client-c6ecbbecfeffe935a77bd79754cb59fbd1446a3e.zip |
Made map non-resizable. Stopped emote spamming.
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/beinghandler.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/net/ea/beinghandler.cpp b/src/net/ea/beinghandler.cpp index 4b61ec61..b6eab2c7 100644 --- a/src/net/ea/beinghandler.cpp +++ b/src/net/ea/beinghandler.cpp @@ -329,7 +329,11 @@ void BeingHandler::handleMessage(MessageIn &msg) } if (player_relations.hasPermission(dstBeing, PlayerRelation::EMOTE)) - dstBeing->setEmote(msg.readInt8(), EMOTION_TIME); + { + // only set emote if one doesnt already exist + if (!dstBeing->mEmotion) + dstBeing->setEmote(msg.readInt8(), EMOTION_TIME); + } break; |