summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-12-11 08:09:30 +0100
committerBardur Arantsson <bardur@scientician.net>2015-12-11 08:09:30 +0100
commit1d477ab119bc87793449307d59eadec096e9aa6f (patch)
tree87de74ca00d9fa57341503755d31342b4d407816
parentda0c4cf2afcdf90d758868112f374e8ff9de2813 (diff)
Remove always-off term::never_bored
-rw-r--r--src/z-term.c8
-rw-r--r--src/z-term.h4
2 files changed, 2 insertions, 10 deletions
diff --git a/src/z-term.c b/src/z-term.c
index 0c4ba03..de4a7b4 100644
--- a/src/z-term.c
+++ b/src/z-term.c
@@ -1467,12 +1467,8 @@ errr Term_inkey(char *ch, bool_ wait, bool_ take)
/* Assume no key */
(*ch) = '\0';
- /* Hack -- get bored */
- if (!Term->never_bored)
- {
- /* Process random events */
- Term_xtra(TERM_XTRA_BORED, 0);
- }
+ /* Process queued UI events */
+ Term_xtra(TERM_XTRA_BORED, 0);
/* Wait */
if (wait)
diff --git a/src/z-term.h b/src/z-term.h
index b1d8145..f4f5252 100644
--- a/src/z-term.h
+++ b/src/z-term.h
@@ -74,9 +74,6 @@ struct term_win
* - Flag "always_text"
* Use the "Term_text()" routine for invisible text
*
- * - Flag "never_bored"
- * Never call the "TERM_XTRA_BORED" action
- *
*
*
* - Value "attr_blank"
@@ -136,7 +133,6 @@ struct term
bool_ icky_corner;
bool_ soft_cursor;
bool_ always_text;
- bool_ never_bored;
byte attr_blank;
char char_blank;