summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mapdef.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-03-26 22:07:12 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-03-26 22:07:12 +0200
commit34ac192565a93bd76da772caaf5409324a5ee7a7 (patch)
tree20fb1d720e0b2a2c10ddb3e1e188e731e27972bd /crawl-ref/source/mapdef.h
parente7bc353f8c79fcbf9c8e2575b5246ca31beb3e79 (diff)
downloadcrawl-ref-34ac192565a93bd76da772caaf5409324a5ee7a7.tar.gz
crawl-ref-34ac192565a93bd76da772caaf5409324a5ee7a7.zip
Let PLACE: selectors use level ranges as well.
This usually makes little sense, but can be good for absdepth ones (PLACE: Bedlam:1, !10-), and it removes the need to implement :$ support for PLACE: in a different way.
Diffstat (limited to 'crawl-ref/source/mapdef.h')
-rw-r--r--crawl-ref/source/mapdef.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mapdef.h b/crawl-ref/source/mapdef.h
index 68b165ec1c..66d2aa62ed 100644
--- a/crawl-ref/source/mapdef.h
+++ b/crawl-ref/source/mapdef.h
@@ -1091,7 +1091,7 @@ public:
// Description for the map that can be shown to players.
std::string description;
std::string tags;
- level_id place;
+ depth_ranges place;
depth_ranges depths;
map_section_type orient;