summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/xom.cc
diff options
context:
space:
mode:
authorJohanna Ploog <j-p-e-g@users.sourceforge.net>2009-12-08 12:45:40 +0100
committerJohanna Ploog <j-p-e-g@users.sourceforge.net>2009-12-08 13:01:24 +0100
commitf6ecbbce31e0f54cf9fdd4d51d6f803a95ab4aac (patch)
tree5eb4ba23f685f55a9b7104e999930358a85c984c /crawl-ref/source/xom.cc
parentc8e7d529512b447816e914e59bec3e5cafa66411 (diff)
downloadcrawl-ref-f6ecbbce31e0f54cf9fdd4d51d6f803a95ab4aac.tar.gz
crawl-ref-f6ecbbce31e0f54cf9fdd4d51d6f803a95ab4aac.zip
Remove redundant #ifdef.
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