From c6ecbbecfeffe935a77bd79754cb59fbd1446a3e Mon Sep 17 00:00:00 2001 From: David Athay Date: Tue, 28 Apr 2009 16:26:34 +0100 Subject: Made map non-resizable. Stopped emote spamming. --- src/net/ea/beinghandler.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/net/ea/beinghandler.cpp') 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; -- cgit v1.2.3-70-g09d2