Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Server/Components/NPCs/NPC/npc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ unsigned int NPC::getInterior() const

Vector3 NPC::getVelocity() const
{
return player_->getPosition();
return velocity_;
}

void NPC::setVelocity(Vector3 velocity, bool update)
Expand Down