summaryrefslogtreecommitdiff
path: root/src/net/ea/npchandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea/npchandler.cpp')
-rw-r--r--src/net/ea/npchandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ea/npchandler.cpp b/src/net/ea/npchandler.cpp
index 40e9daf8..3ec3c1f8 100644
--- a/src/net/ea/npchandler.cpp
+++ b/src/net/ea/npchandler.cpp
@@ -126,7 +126,7 @@ void NpcHandler::handleMessage(Net::MessageIn &msg)
break;
}
- if (resetPlayer && player_node->mAction != Being::SIT)
+ if (resetPlayer && player_node->getCurrentAction() != Being::SIT)
player_node->setAction(Being::STAND);
}