diff options
author | Raphael Langella <raphael.langella@gmail.com> | 2011-07-05 23:27:48 +0200 |
---|---|---|
committer | Raphael Langella <raphael.langella@gmail.com> | 2011-07-06 00:18:11 +0200 |
commit | 91cb3cb2e34083d9f3ad5e4f0e5bd85ad24a8407 (patch) | |
tree | b2efbd109606d10eb5afc7e9c6e2dc795e710e59 /crawl-ref/source/skill_menu.h | |
parent | 4985ec083058ba6c750f5fe3f6f319b03db97f80 (diff) | |
download | crawl-ref-91cb3cb2e34083d9f3ad5e4f0e5bd85ad24a8407.tar.gz crawl-ref-91cb3cb2e34083d9f3ad5e4f0e5bd85ad24a8407.zip |
Prevent exiting the skill menu with all skills disabled.
Diffstat (limited to 'crawl-ref/source/skill_menu.h')
-rw-r--r-- | crawl-ref/source/skill_menu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/skill_menu.h b/crawl-ref/source/skill_menu.h index 78adee024f..4dbd625209 100644 --- a/crawl-ref/source/skill_menu.h +++ b/crawl-ref/source/skill_menu.h @@ -136,6 +136,7 @@ public: void add_item(TextItem* item, const int size, coord_def &coord); void clear_selections(); + bool exit(); skill_menu_state get_state(skill_menu_switch sw); void select(skill_type sk, int keyn); void toggle(skill_menu_switch sw); |