summaryrefslogtreecommitdiff
path: root/src/net/tmwa/npchandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/npchandler.cpp')
-rw-r--r--src/net/tmwa/npchandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/npchandler.cpp b/src/net/tmwa/npchandler.cpp
index 904fe388..3a50b6d4 100644
--- a/src/net/tmwa/npchandler.cpp
+++ b/src/net/tmwa/npchandler.cpp
@@ -125,8 +125,8 @@ void NpcHandler::handleMessage(Net::MessageIn &msg)
delete event;
- if (player_node->getCurrentAction() != Being::SIT)
- player_node->setAction(Being::STAND);
+ if (local_player->getCurrentAction() != Being::SIT)
+ local_player->setAction(Being::STAND);
}
void NpcHandler::startShopping(int beingId)