summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mapdef.cc
diff options
context:
space:
mode:
authorVsevolod Kozlov <zaba@wybt.net>2014-06-28 21:41:40 +0400
committerVsevolod Kozlov <zaba@wybt.net>2014-06-28 21:41:40 +0400
commitb2652204cafa35a4345d3183bf6d63da4cf61ae6 (patch)
tree215fdc488b95f9c78e24400a2202624f3f9cd690 /crawl-ref/source/mapdef.cc
parent96e6dfd7e2c6c1b35edeb9cb6e063c46494449d2 (diff)
downloadcrawl-ref-b2652204cafa35a4345d3183bf6d63da4cf61ae6.tar.gz
crawl-ref-b2652204cafa35a4345d3183bf6d63da4cf61ae6.zip
Rename the 'can_overwrite' vault tag to 'overwrite_floor_cell'.
In an attempt to clarify its new, more restricted behaviour.
Diffstat (limited to 'crawl-ref/source/mapdef.cc')
-rw-r--r--crawl-ref/source/mapdef.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/mapdef.cc b/crawl-ref/source/mapdef.cc
index 4016413282..d0e2b15c21 100644
--- a/crawl-ref/source/mapdef.cc
+++ b/crawl-ref/source/mapdef.cc
@@ -2845,9 +2845,9 @@ string map_def::validate_map_def(const depth_ranges &default_depths)
return err;
}
- if (has_tag("can_overwrite") && (map.width() != 1 || map.height() != 1))
+ if (has_tag("overwrite_floor_cell") && (map.width() != 1 || map.height() != 1))
{
- return "Map tagged 'can_overwrite' must be 1x1";
+ return "Map tagged 'overwrite_floor_cell' must be 1x1";
}
// Abyssal vaults have additional size and orientation restrictions.