summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-25 15:28:50 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-25 15:30:08 +0300
commit2f9fa7415d501337a32111ef123f361cd6d01cab (patch)
treebff64eaa4f5db487187f6b604db9ce0317746a16 /src/net
parent3e43345f804886a3a6ed7c0e378612612de4f4a5 (diff)
downloadmanaplus-2f9fa7415d501337a32111ef123f361cd6d01cab.tar.gz
manaplus-2f9fa7415d501337a32111ef123f361cd6d01cab.tar.bz2
manaplus-2f9fa7415d501337a32111ef123f361cd6d01cab.tar.xz
manaplus-2f9fa7415d501337a32111ef123f361cd6d01cab.zip
add pet think time.
New pet db attribute: thinkTime time in milliseconds. also remove extra pet logic calls.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/beinghandler.cpp1
-rw-r--r--src/net/eathena/beinghandler.cpp1
-rw-r--r--src/net/tmwa/beinghandler.cpp1
3 files changed, 0 insertions, 3 deletions
diff --git a/src/net/ea/beinghandler.cpp b/src/net/ea/beinghandler.cpp
index 3fbfdd2d7..0a864bbac 100644
--- a/src/net/ea/beinghandler.cpp
+++ b/src/net/ea/beinghandler.cpp
@@ -515,7 +515,6 @@ void BeingHandler::processBeingAction(Net::MessageIn &msg) const
if (srcBeing)
{
srcBeing->setAction(Being::SIT, 0);
- srcBeing->updatePet();
if (srcBeing->getType() == Being::PLAYER)
{
srcBeing->setMoveTime();
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp
index 196196a07..108e6b50f 100644
--- a/src/net/eathena/beinghandler.cpp
+++ b/src/net/eathena/beinghandler.cpp
@@ -586,7 +586,6 @@ void BeingHandler::processPlayerMoveUpdate(Net::MessageIn &msg,
case 2:
dstBeing->setAction(Being::SIT, 0);
- dstBeing->updatePet();
player_node->imitateAction(dstBeing, Being::SIT);
break;
diff --git a/src/net/tmwa/beinghandler.cpp b/src/net/tmwa/beinghandler.cpp
index de2a25946..cfb25fa49 100644
--- a/src/net/tmwa/beinghandler.cpp
+++ b/src/net/tmwa/beinghandler.cpp
@@ -612,7 +612,6 @@ void BeingHandler::processPlayerMoveUpdate(Net::MessageIn &msg,
case 2:
dstBeing->setAction(Being::SIT, 0);
- dstBeing->updatePet();
player_node->imitateAction(dstBeing, Being::SIT);
break;