summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/xom.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/xom.cc')
-rw-r--r--crawl-ref/source/xom.cc7
1 files changed, 1 insertions, 6 deletions
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