diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-21 01:44:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-21 01:44:57 +0300 |
commit | cfe4c893ba4ba30379919636d3c508ebf1594e23 (patch) | |
tree | 94abccb0bfbf6ce3675186f80c7243bbf4b6c157 /src/net/ea/beinghandler.cpp | |
parent | 52f78717dae3cb02eb1539841dd2a6bd351f74c1 (diff) | |
download | manaverse-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/beinghandler.cpp')
-rw-r--r-- | src/net/ea/beinghandler.cpp | 4 |
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); } } |