diff options
author | Florian Diebold <flodiebold@gmail.com> | 2011-12-15 00:29:41 +0100 |
---|---|---|
committer | Florian Diebold <flodiebold@gmail.com> | 2011-12-15 00:29:41 +0100 |
commit | 911b6bf38041d03db4280819a0542fd43f094c42 (patch) | |
tree | f3ff8495de5ce66149a33b7a6fbb3cf531a9b693 /crawl-ref/source/menu.h | |
parent | 53986d7889ab9e2ee8f8f15045e16dc1250f9466 (diff) | |
download | crawl-ref-911b6bf38041d03db4280819a0542fd43f094c42.tar.gz crawl-ref-911b6bf38041d03db4280819a0542fd43f094c42.zip |
Unify the mutation menu code somewhat for vampires/non-vampires.
Both now use the same formatted_scroller. Also, the other side of the
vampire mutation menu uses another formatted_scroller.
Diffstat (limited to 'crawl-ref/source/menu.h')
-rw-r--r-- | crawl-ref/source/menu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/menu.h b/crawl-ref/source/menu.h index 63e08a57dc..093ea42beb 100644 --- a/crawl-ref/source/menu.h +++ b/crawl-ref/source/menu.h @@ -331,7 +331,7 @@ public: select_filter = filter; } - unsigned char getkey() const { return lastch; } + int getkey() const { return lastch; } void reset(); std::vector<MenuEntry *> show(bool reuse_selections = false); @@ -383,7 +383,7 @@ protected: int num; - unsigned char lastch; + int lastch; bool alive; |