summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dbg-util.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2012-06-19 19:37:42 -0400
committerRaphael Langella <raphael.langella@gmail.com>2012-07-04 18:04:08 +0200
commit05281031ee42646656f9917e555ff7c5dcefa605 (patch)
tree60e85e94e893ffe0732d990180de7aab6db3e827 /crawl-ref/source/dbg-util.cc
parent62975904fe9f31bbabb81e3bb878323149ee0c5f (diff)
downloadcrawl-ref-05281031ee42646656f9917e555ff7c5dcefa605.tar.gz
crawl-ref-05281031ee42646656f9917e555ff7c5dcefa605.zip
Remove dur_been_constricted, merge some duplicate code.
dur_been_constricted was used only for a single debugging message. Remove it and the associated accum_been_constricted(). Do not yet change the save file format, as more significant changes that will require a minor version bump are coming soon Also move accum_has_constricted() from player and monster to actor; the code was the same, modulo some bugs in the monster version.
Diffstat (limited to 'crawl-ref/source/dbg-util.cc')
-rw-r--r--crawl-ref/source/dbg-util.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/crawl-ref/source/dbg-util.cc b/crawl-ref/source/dbg-util.cc
index 6dda9dc1f7..ab5b9665ef 100644
--- a/crawl-ref/source/dbg-util.cc
+++ b/crawl-ref/source/dbg-util.cc
@@ -154,9 +154,6 @@ void debug_dump_constriction(const actor *act)
fprintf(stderr, "%s ",
debug_mon_str(&env.mons[act->constricted_by]).c_str());
}
-
- fprintf(stderr, "for %d turns (%d escape attempts)\n",
- act->dur_been_constricted, act->escape_attempts);
}
}