summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-04-06 06:39:16 -0600
committerJared Adams <jaxad0127@gmail.com>2009-04-06 06:39:16 -0600
commitee4f4fd0aff3a614b4e60ab082ff4b493c18da93 (patch)
tree9bb1600d8c93326327bf0cce9da938b884638fbf /src/gui
parent9e44d5af1d7576b99553305aa7cee53dd0f6ff45 (diff)
downloadmana-client-ee4f4fd0aff3a614b4e60ab082ff4b493c18da93.tar.gz
mana-client-ee4f4fd0aff3a614b4e60ab082ff4b493c18da93.tar.bz2
mana-client-ee4f4fd0aff3a614b4e60ab082ff4b493c18da93.tar.xz
mana-client-ee4f4fd0aff3a614b4e60ab082ff4b493c18da93.zip
Fix the Sell button in BuySellDialog
Also make the dialog build for all servers
Diffstat (limited to 'src/gui')
-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")
{