summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/luaterp.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-04-14 02:58:45 -0400
committerNeil Moore <neil@s-z.org>2014-04-14 03:18:12 -0400
commit248eb57cf377b191ebf77f812cc1866aaa404235 (patch)
treeb13c771dce077df6f2935b3d333a173b600ddcc0 /crawl-ref/source/luaterp.cc
parentc0ff181526c360bfdb38f025a4ebc5dbdac1aec2 (diff)
downloadcrawl-ref-248eb57cf377b191ebf77f812cc1866aaa404235.tar.gz
crawl-ref-248eb57cf377b191ebf77f812cc1866aaa404235.zip
Fix NOWIZARD compilation (#8369).
The CLua console and --no-save were partially but not completely contained in #ifdef WIZARD. Make them both work without WIZARD.
Diffstat (limited to 'crawl-ref/source/luaterp.cc')
-rw-r--r--crawl-ref/source/luaterp.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/crawl-ref/source/luaterp.cc b/crawl-ref/source/luaterp.cc
index 78d9ad6856..f166046b87 100644
--- a/crawl-ref/source/luaterp.cc
+++ b/crawl-ref/source/luaterp.cc
@@ -21,8 +21,6 @@
#include "message.h"
#include "options.h"
-#ifdef WIZARD
-
static int _incomplete(lua_State *ls, int status)
{
if (status == LUA_ERRSYNTAX)
@@ -157,5 +155,3 @@ void debug_terp_dlua(CLua &vm)
}
_run_dlua_interpreter(vm);
}
-
-#endif