diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-02-23 13:19:31 -0700 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-02-23 13:19:31 -0700 |
commit | c54b987a4e4d28d35e8bafb03e1dba33b5fda4ab (patch) | |
tree | c3a69432b48708d351a02a7232acddee6a8ca6f5 /src/gui/buy.h | |
parent | e01a1776f20a499003ae976e4b145a9c85f6a014 (diff) | |
download | mana-c54b987a4e4d28d35e8bafb03e1dba33b5fda4ab.tar.gz mana-c54b987a4e4d28d35e8bafb03e1dba33b5fda4ab.tar.bz2 mana-c54b987a4e4d28d35e8bafb03e1dba33b5fda4ab.tar.xz mana-c54b987a4e4d28d35e8bafb03e1dba33b5fda4ab.zip |
Hide the buy/sell dialogs when there is no NPC
Diffstat (limited to 'src/gui/buy.h')
-rw-r--r-- | src/gui/buy.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/buy.h b/src/gui/buy.h index 0f1cfede..55a1898c 100644 --- a/src/gui/buy.h +++ b/src/gui/buy.h @@ -95,6 +95,11 @@ class BuyDialog : public Window, public gcn::ActionListener, */ void updateButtonsAndLabels(); + /** + * Check for current NPC + */ + void logic(); + private: Network *mNetwork; gcn::Button *mBuyButton; |