summaryrefslogtreecommitdiff
path: root/src/gui/buysell.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/buysell.cpp')
-rw-r--r--src/gui/buysell.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/buysell.cpp b/src/gui/buysell.cpp
index 80e2cdfe..16d9d2ee 100644
--- a/src/gui/buysell.cpp
+++ b/src/gui/buysell.cpp
@@ -86,7 +86,7 @@ void BuySellDialog::action(const gcn::ActionEvent &event)
}
else if (event.getId() == "Sell")
{
- Net::getNpcHandler()->buy(current_npc);
+ Net::getNpcHandler()->sell(current_npc);
}
else if (event.getId() == "Cancel")
{