From 7cab36931b74bf99d3c6ee704a7ebf3b54d7a976 Mon Sep 17 00:00:00 2001 From: Jude Brown Date: Sun, 17 Jan 2010 16:29:09 +1000 Subject: Convert fprop instances in mapdef.* to unsigned long. (greensnark) fprop lists, and fprop_spec, now use unsigned long instead of int. This matches env.pgrid, and means that there won't be size issues in future when we end up with more feature properties. --- crawl-ref/source/mapdef.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/mapdef.h') diff --git a/crawl-ref/source/mapdef.h b/crawl-ref/source/mapdef.h index 354109e8a1..a8a237650c 100644 --- a/crawl-ref/source/mapdef.h +++ b/crawl-ref/source/mapdef.h @@ -155,7 +155,7 @@ public: map_colour_list colours; }; -typedef std::pair map_weighted_fprop; +typedef std::pair map_weighted_fprop; class map_fprop_list : public std::vector { public: @@ -169,12 +169,12 @@ public: { } - int get_property(); + unsigned long get_property(); public: std::string key; bool fix; - int fixed_prop; + unsigned long fixed_prop; map_fprop_list fprops; }; -- cgit v1.2.3-54-g00ecf