summaryrefslogtreecommitdiff
path: root/src/gui/specialswindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/specialswindow.h')
-rw-r--r--src/gui/specialswindow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/specialswindow.h b/src/gui/specialswindow.h
index dedeeffc..b440ce13 100644
--- a/src/gui/specialswindow.h
+++ b/src/gui/specialswindow.h
@@ -51,6 +51,9 @@ class SpecialsWindow : public Window, public gcn::ActionListener {
void draw(gcn::Graphics *graphics);
+ bool hasSpecials()
+ { return !mEntries.empty(); }
+
private:
// (re)constructs the list of specials
void rebuild(const std::map<int, Special> &specialData);