diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-25 15:28:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-25 15:30:08 +0300 |
commit | 2f9fa7415d501337a32111ef123f361cd6d01cab (patch) | |
tree | bff64eaa4f5db487187f6b604db9ce0317746a16 /src/net | |
parent | 3e43345f804886a3a6ed7c0e378612612de4f4a5 (diff) | |
download | manaverse-2f9fa7415d501337a32111ef123f361cd6d01cab.tar.gz manaverse-2f9fa7415d501337a32111ef123f361cd6d01cab.tar.bz2 manaverse-2f9fa7415d501337a32111ef123f361cd6d01cab.tar.xz manaverse-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.cpp | 1 | ||||
-rw-r--r-- | src/net/eathena/beinghandler.cpp | 1 | ||||
-rw-r--r-- | src/net/tmwa/beinghandler.cpp | 1 |
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; |