summaryrefslogtreecommitdiff
path: root/src/net/tmwa/beinghandler.cpp
diff options
context:
space:
mode:
authorStefan Dombrowski <stefan@uni-bonn.de>2010-10-08 23:19:12 +0200
committerStefan Dombrowski <stefan@uni-bonn.de>2010-10-08 23:19:12 +0200
commit574bd5fa1ee45a7452d2e85941fa33f946b63eae (patch)
treee5cb67987ca716837fd498c5430b836250ca1497 /src/net/tmwa/beinghandler.cpp
parentae7711813b236500c14d85de1c8a668a7beee0c1 (diff)
downloadmana-574bd5fa1ee45a7452d2e85941fa33f946b63eae.tar.gz
mana-574bd5fa1ee45a7452d2e85941fa33f946b63eae.tar.bz2
mana-574bd5fa1ee45a7452d2e85941fa33f946b63eae.tar.xz
mana-574bd5fa1ee45a7452d2e85941fa33f946b63eae.zip
Remove the following system
Removed due to unresolved social issues. In master it had been already removed by Kage in commit 89f192b9039f9c000515f0a12f4bb9fb55c4691c.
Diffstat (limited to 'src/net/tmwa/beinghandler.cpp')
-rw-r--r--src/net/tmwa/beinghandler.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/net/tmwa/beinghandler.cpp b/src/net/tmwa/beinghandler.cpp
index 889f8777..2fe962c7 100644
--- a/src/net/tmwa/beinghandler.cpp
+++ b/src/net/tmwa/beinghandler.cpp
@@ -115,7 +115,6 @@ void BeingHandler::handleMessage(Net::MessageIn &msg)
Being *srcBeing, *dstBeing;
Player *player = 0;
int hairStyle, hairColor, flag;
- std::string player_followed;
switch (msg.getId())
{
@@ -280,16 +279,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();
@@ -595,16 +584,6 @@ void BeingHandler::handleMessage(Net::MessageIn &msg)
msg.readCoordinatePair(srcX, srcY, dstX, dstY);
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
{