summaryrefslogtreecommitdiff
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
parentd16ba9b6ec43de70fc907252f97df2ec4be49fc7 (diff)
downloadmanaplus-ae1ba709d91bd59d05da7b3e434658ec652f2355.tar.gz
manaplus-ae1ba709d91bd59d05da7b3e434658ec652f2355.tar.bz2
manaplus-ae1ba709d91bd59d05da7b3e434658ec652f2355.tar.xz
manaplus-ae1ba709d91bd59d05da7b3e434658ec652f2355.zip
Remove useless code. After npc interaction player was change action.
-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;
}