summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-21 01:44:57 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-21 01:44:57 +0300
commitcfe4c893ba4ba30379919636d3c508ebf1594e23 (patch)
tree94abccb0bfbf6ce3675186f80c7243bbf4b6c157 /src/net/ea
parent52f78717dae3cb02eb1539841dd2a6bd351f74c1 (diff)
downloadmanaverse-cfe4c893ba4ba30379919636d3c508ebf1594e23.tar.gz
manaverse-cfe4c893ba4ba30379919636d3c508ebf1594e23.tar.bz2
manaverse-cfe4c893ba4ba30379919636d3c508ebf1594e23.tar.xz
manaverse-cfe4c893ba4ba30379919636d3c508ebf1594e23.zip
add owned show time to each emote type.
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/beinghandler.cpp4
1 files changed, 1 insertions, 3 deletions
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);
}
}