summaryrefslogtreecommitdiff
path: root/src/net/tmwa/beinghandler.cpp
diff options
context:
space:
mode:
authorChuck Miller <shadowmil@gmail.com>2010-10-04 21:02:59 -0400
committerChuck Miller <shadowmil@gmail.com>2010-10-04 21:17:08 -0400
commit89f192b9039f9c000515f0a12f4bb9fb55c4691c (patch)
tree5d5ae12f7e77921a80082abdf3ec6acc705192c7 /src/net/tmwa/beinghandler.cpp
parent6f25f5d9390ae247970ad886dc51d55435285831 (diff)
downloadmana-client-89f192b9039f9c000515f0a12f4bb9fb55c4691c.tar.gz
mana-client-89f192b9039f9c000515f0a12f4bb9fb55c4691c.tar.bz2
mana-client-89f192b9039f9c000515f0a12f4bb9fb55c4691c.tar.xz
mana-client-89f192b9039f9c000515f0a12f4bb9fb55c4691c.zip
Remove the following system
The implamentation is poor, and this is something that would be better handled by the addon engine later down the road. Reviewed-By: Freeyorp < Freeyorp101@hotmail.com >
Diffstat (limited to 'src/net/tmwa/beinghandler.cpp')
-rw-r--r--src/net/tmwa/beinghandler.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/net/tmwa/beinghandler.cpp b/src/net/tmwa/beinghandler.cpp
index 97967eb9..332ac548 100644
--- a/src/net/tmwa/beinghandler.cpp
+++ b/src/net/tmwa/beinghandler.cpp
@@ -113,7 +113,6 @@ void BeingHandler::handleMessage(Net::MessageIn &msg)
Uint16 status;
Being *srcBeing, *dstBeing;
int hairStyle, hairColor, flag;
- std::string player_followed;
switch (msg.getId())
{
@@ -269,16 +268,6 @@ void BeingHandler::handleMessage(Net::MessageIn &msg)
if (!dstBeing)
break;
- player_followed = player_node->getFollow();
-
- if (!player_followed.empty())
- {
- if (dstBeing->getName() == player_followed)
- {
- player_node->setDestination(player_node->getNextDestX(), player_node->getNextDestY());
- }
- }
-
// If this is player's current target, clear it.
if (dstBeing == player_node->getTarget())
player_node->stopAttack();
@@ -574,15 +563,6 @@ void BeingHandler::handleMessage(Net::MessageIn &msg)
dstBeing->setTileCoords(srcX, srcY);
dstBeing->setDestination(dstX, dstY);
- player_followed = player_node->getFollow();
- if (!player_followed.empty())
- {
- if (dstBeing->getName() == player_followed)
- {
- player_node->setNextDest(dstX, dstY);
- player_node->setDestination(srcX, srcY);
- }
- }
}
else
{