diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-05-06 08:22:19 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-05-06 08:22:19 -0600 |
commit | 429e82f91487d48ecb5a1742ec6fb6987a2bc9bd (patch) | |
tree | d3789c7ef91680ba6a6a0eee56664ba3de690d94 /src/gui/itemamount.cpp | |
parent | 678c2316e34021bb16ac08eb48186f5570dc691b (diff) | |
download | mana-429e82f91487d48ecb5a1742ec6fb6987a2bc9bd.tar.gz mana-429e82f91487d48ecb5a1742ec6fb6987a2bc9bd.tar.bz2 mana-429e82f91487d48ecb5a1742ec6fb6987a2bc9bd.tar.xz mana-429e82f91487d48ecb5a1742ec6fb6987a2bc9bd.zip |
Remove more inventory handling support #ifdefs
This also fixes some minor bugs and centralizes some logic.
Diffstat (limited to 'src/gui/itemamount.cpp')
-rw-r--r-- | src/gui/itemamount.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gui/itemamount.cpp b/src/gui/itemamount.cpp index 46d12ee5..1bbd6fdd 100644 --- a/src/gui/itemamount.cpp +++ b/src/gui/itemamount.cpp @@ -21,9 +21,7 @@ #include "gui/itemamount.h" -#ifdef EATHENA_SUPPORT #include "gui/storagewindow.h" -#endif #include "gui/trade.h" #include "gui/widgets/button.h" @@ -155,11 +153,9 @@ void ItemAmountWindow::action(const gcn::ActionEvent &event) case ItemDrop: player_node->dropItem(mItem, amount); break; -#ifdef TMWSERV_SUPPORT case ItemSplit: player_node->splitItem(mItem, amount); break; -#endif case StoreAdd: storageWindow->addStore(mItem, amount); break; |