summaryrefslogtreecommitdiff
path: root/src/gui/sell.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-02-23 13:19:31 -0700
committerJared Adams <jaxad0127@gmail.com>2009-02-23 13:19:31 -0700
commitc54b987a4e4d28d35e8bafb03e1dba33b5fda4ab (patch)
treec3a69432b48708d351a02a7232acddee6a8ca6f5 /src/gui/sell.h
parente01a1776f20a499003ae976e4b145a9c85f6a014 (diff)
downloadmana-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/sell.h')
-rw-r--r--src/gui/sell.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/sell.h b/src/gui/sell.h
index c11a7b7c..3777b91e 100644
--- a/src/gui/sell.h
+++ b/src/gui/sell.h
@@ -81,6 +81,11 @@ class SellDialog : public Window, gcn::ActionListener, gcn::SelectionListener
*/
void setMoney(int amount);
+ /**
+ * Check for current NPC
+ */
+ void logic();
+
private:
/**
* Updates the state of buttons and labels.