summaryrefslogtreecommitdiff
path: root/src/net/tmwa/npchandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-08-07 16:20:38 +0300
committerAndrei Karas <akaras@inbox.ru>2011-08-07 16:20:38 +0300
commitae1ba709d91bd59d05da7b3e434658ec652f2355 (patch)
tree296b92812659cab36f64e0cc7b99e6dbafce7e32 /src/net/tmwa/npchandler.cpp
parentd16ba9b6ec43de70fc907252f97df2ec4be49fc7 (diff)
downloadmanaverse-ae1ba709d91bd59d05da7b3e434658ec652f2355.tar.gz
manaverse-ae1ba709d91bd59d05da7b3e434658ec652f2355.tar.bz2
manaverse-ae1ba709d91bd59d05da7b3e434658ec652f2355.tar.xz
manaverse-ae1ba709d91bd59d05da7b3e434658ec652f2355.zip
Remove useless code. After npc interaction player was change action.
Diffstat (limited to 'src/net/tmwa/npchandler.cpp')
-rw-r--r--src/net/tmwa/npchandler.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/net/tmwa/npchandler.cpp b/src/net/tmwa/npchandler.cpp
index d6549e39f..43271671e 100644
--- a/src/net/tmwa/npchandler.cpp
+++ b/src/net/tmwa/npchandler.cpp
@@ -92,9 +92,6 @@ void NpcHandler::handleMessage(Net::MessageIn &msg)
break;
}
- if (player_node && player_node->getCurrentAction() != Being::SIT)
- player_node->setAction(Being::STAND);
-
mDialog = 0;
}