summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/l_crawl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/l_crawl.cc')
-rw-r--r--crawl-ref/source/l_crawl.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/crawl-ref/source/l_crawl.cc b/crawl-ref/source/l_crawl.cc
index aebb011182..5425a04930 100644
--- a/crawl-ref/source/l_crawl.cc
+++ b/crawl-ref/source/l_crawl.cc
@@ -150,7 +150,6 @@ static int crawl_yesno(lua_State *ls)
const bool noprompt =
lua_isnone(ls, 6) ? false : lua_toboolean(ls, 6);
- cursor_control con(true);
lua_pushboolean(ls, yesno(prompt, safe, safeanswer, clear_after,
interrupt_delays, noprompt));
return (1);
@@ -168,7 +167,6 @@ static int crawl_yesnoquit(lua_State *ls)
// Skipping the other params until somebody needs them.
- cursor_control con(true);
lua_pushnumber(ls, yesnoquit(prompt, safe, safeanswer, allow_all,
clear_after));
return (1);