From 928479a2ce6674d27d6ef03d7a06f81803ccdfae Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Tue, 27 Oct 2009 01:35:41 +0100 Subject: Convert some ints to monster_type. There's a whole lot of places that pass monster_type as int, often with varying meanings for the value -1. This moves some of these to monster_type, introducing MONS_NO_MONSTER and MONS_PLAYER as new invalid special values. Also improve on the autoexclude descriptions. --- crawl-ref/source/travel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/travel.h') diff --git a/crawl-ref/source/travel.h b/crawl-ref/source/travel.h index d1c5e55ddd..cfc8f95c9a 100644 --- a/crawl-ref/source/travel.h +++ b/crawl-ref/source/travel.h @@ -364,7 +364,7 @@ struct travel_exclude bool vault; // Is this exclusion set by a vault? travel_exclude(const coord_def &p, int r = LOS_RADIUS, - bool autoex = false, monster_type mons = NUM_MONSTERS, + bool autoex = false, monster_type mons = MONS_NO_MONSTER, bool vault = false); int radius_sq() const; -- cgit v1.2.3-54-g00ecf