diff options
author | Neil Moore <neil@s-z.org> | 2012-10-09 02:22:31 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2012-10-09 02:22:31 -0400 |
commit | bd7a0b97120697844439a0c38f0cc3e9ad31c649 (patch) | |
tree | f429f9872d2cd7e91d253ab1edaf0669c72cdbbf /crawl-ref/source/skill_menu.h | |
parent | 7f69e0fee35ab5e341b3aa82d7d192e89d4144f6 (diff) | |
download | crawl-ref-bd7a0b97120697844439a0c38f0cc3e9ad31c649.tar.gz crawl-ref-bd7a0b97120697844439a0c38f0cc3e9ad31c649.zip |
Fix SkillMenu crashes.
Not everything was being reset, causing crashes the second time the menu
was entered.
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 84f5d5f92f..9b4aa0f776 100644 --- a/crawl-ref/source/skill_menu.h +++ b/crawl-ref/source/skill_menu.h @@ -130,6 +130,7 @@ public: void clear_flag(int flag); void init(int flag, int exp); + void clear(); bool is_set(int flag) const; void set_flag(int flag); void toggle_flag(int flag); |