diff options
-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") { |