From f6ecbbce31e0f54cf9fdd4d51d6f803a95ab4aac Mon Sep 17 00:00:00 2001 From: Johanna Ploog Date: Tue, 8 Dec 2009 12:45:40 +0100 Subject: Remove redundant #ifdef. --- crawl-ref/source/xom.cc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'crawl-ref/source/xom.cc') diff --git a/crawl-ref/source/xom.cc b/crawl-ref/source/xom.cc index 7b0eda06f8..bc07ae3ffa 100644 --- a/crawl-ref/source/xom.cc +++ b/crawl-ref/source/xom.cc @@ -3839,12 +3839,12 @@ static const char* _xom_effect_to_name(int effect) return (result.c_str()); } -#ifdef WIZARD // Loops over the entire piety spectrum and calls xom_acts() multiple // times for each value, then prints the results into a file. // TODO: Allow specification of niceness, tension, boredness, and repeats. void debug_xom_effects() { + // Repeat N times. const int N = debug_prompt_for_int("How many iterations? ", true); if (N == 0) @@ -3853,9 +3853,6 @@ void debug_xom_effects() return; } - // Repeat N times. -// const int N = 10; - FILE *ostat = fopen("xom_debug.stat", "a"); if (!ostat) { @@ -3994,5 +3991,3 @@ void debug_xom_effects() you.religion = real_god; } #endif // WIZARD - -#endif -- cgit v1.2.3-54-g00ecf