diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-04-06 06:39:16 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-04-06 06:39:16 -0600 |
commit | ee4f4fd0aff3a614b4e60ab082ff4b493c18da93 (patch) | |
tree | 9bb1600d8c93326327bf0cce9da938b884638fbf /src | |
parent | 9e44d5af1d7576b99553305aa7cee53dd0f6ff45 (diff) | |
download | mana-ee4f4fd0aff3a614b4e60ab082ff4b493c18da93.tar.gz mana-ee4f4fd0aff3a614b4e60ab082ff4b493c18da93.tar.bz2 mana-ee4f4fd0aff3a614b4e60ab082ff4b493c18da93.tar.xz mana-ee4f4fd0aff3a614b4e60ab082ff4b493c18da93.zip |
Fix the Sell button in BuySellDialog
Also make the dialog build for all servers
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 4 | ||||
-rw-r--r-- | src/gui/buysell.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 5fa55bc0..d84c792e 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -33,6 +33,8 @@ tmw_SOURCES = gui/widgets/avatar.cpp \ gui/button.h \ gui/buy.cpp \ gui/buy.h \ + gui/buysell.cpp \ + gui/buysell.h \ gui/char_select.cpp \ gui/char_select.h \ gui/chat.cpp \ @@ -448,8 +450,6 @@ endif if SERVER_EATHENA tmw_CXXFLAGS += -DEATHENA_SUPPORT tmw_SOURCES += \ - gui/buysell.cpp \ - gui/buysell.h \ gui/char_server.cpp \ gui/char_server.h \ gui/skill.cpp \ 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") { |