From cfe4c893ba4ba30379919636d3c508ebf1594e23 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 21 Apr 2013 01:44:57 +0300 Subject: add owned show time to each emote type. --- src/net/ea/beinghandler.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/net') diff --git a/src/net/ea/beinghandler.cpp b/src/net/ea/beinghandler.cpp index db3db9dd4..ea668589c 100644 --- a/src/net/ea/beinghandler.cpp +++ b/src/net/ea/beinghandler.cpp @@ -58,8 +58,6 @@ namespace Ea { -const int EMOTION_TIME = 500; /**< Duration of emotion icon */ - BeingHandler::BeingHandler(const bool enableSync) : mSync(enableSync), mSpawnId(0), @@ -578,7 +576,7 @@ void BeingHandler::processBeingEmotion(Net::MessageIn &msg) const const unsigned char emote = msg.readInt8(); if (emote) { - dstBeing->setEmote(emote, EMOTION_TIME); + dstBeing->setEmote(emote, 0); player_node->imitateEmote(dstBeing, emote); } } -- cgit v1.2.3-70-g09d2