summaryrefslogtreecommitdiff
path: root/src/actions/actions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r--src/actions/actions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp
index 5deca7e95..7f1e37104 100644
--- a/src/actions/actions.cpp
+++ b/src/actions/actions.cpp
@@ -727,7 +727,7 @@ impHandler(buy)
if (being->getType() == ActorType::Npc)
{
if (npcHandler)
- npcHandler->buy(being->getId());
+ npcHandler->buy(being);
return true;
}
else if (being->getType() == ActorType::Player)