summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dbg-asrt.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-07-04 17:47:01 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-07-05 12:10:36 +0200
commit84529d68d19b47489f41615bf64f90e1639ff0a7 (patch)
tree0f5157f004e1ae16443f1731f15d34ca614e60a5 /crawl-ref/source/dbg-asrt.cc
parent7d59203a59442246db2d4cde035d5587c2f8ea81 (diff)
downloadcrawl-ref-84529d68d19b47489f41615bf64f90e1639ff0a7.tar.gz
crawl-ref-84529d68d19b47489f41615bf64f90e1639ff0a7.zip
Make feature renames local to a vault rather than the whole level.
For technical reasons (vault_placement), subvaults use renaming data of the top-level vault, this might be changed one day; that'd require a bit more writing but would allow different renames in different subvaults. TODO: "line of fire blocked by XXX".
Diffstat (limited to 'crawl-ref/source/dbg-asrt.cc')
-rw-r--r--crawl-ref/source/dbg-asrt.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/dbg-asrt.cc b/crawl-ref/source/dbg-asrt.cc
index 5d5739d2e7..a47e3f6e20 100644
--- a/crawl-ref/source/dbg-asrt.cc
+++ b/crawl-ref/source/dbg-asrt.cc
@@ -149,9 +149,8 @@ static void _dump_player(FILE *file)
if (in_bounds(you.pos()))
{
- const dungeon_feature_type feat = grd(you.pos());
fprintf(file, "Standing on/in/over feature: %s\n",
- raw_feature_description(feat, NUM_TRAPS, true).c_str());
+ raw_feature_description(you.pos()).c_str());
}
debug_dump_constriction(&you);