diff options
author | Neil Moore <neil@s-z.org> | 2014-04-14 02:58:45 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2014-04-14 03:18:12 -0400 |
commit | 248eb57cf377b191ebf77f812cc1866aaa404235 (patch) | |
tree | b13c771dce077df6f2935b3d333a173b600ddcc0 /crawl-ref/source/startup.cc | |
parent | c0ff181526c360bfdb38f025a4ebc5dbdac1aec2 (diff) | |
download | crawl-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/startup.cc')
-rw-r--r-- | crawl-ref/source/startup.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/startup.cc b/crawl-ref/source/startup.cc index e963125d4d..3f4b301adb 100644 --- a/crawl-ref/source/startup.cc +++ b/crawl-ref/source/startup.cc @@ -241,9 +241,11 @@ static void _post_init(bool newc) // Debug compiles display a lot of "hidden" information, so we auto-wiz. you.wizard = true; #endif +#ifdef WIZARD // Save-less games are pointless except for tests. if (Options.no_save) you.wizard = true; +#endif init_properties(); burden_change(); |