From 4db1d75dca2405e186a3e9869a2aa9e058cbf71f Mon Sep 17 00:00:00 2001 From: Stefan O'Rear Date: Wed, 30 Dec 2009 00:57:03 -0800 Subject: Allow tiles to destroy only some items. --- crawl-ref/source/mon-pathfind.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/mon-pathfind.cc') diff --git a/crawl-ref/source/mon-pathfind.cc b/crawl-ref/source/mon-pathfind.cc index 173d643020..68215b5fca 100644 --- a/crawl-ref/source/mon-pathfind.cc +++ b/crawl-ref/source/mon-pathfind.cc @@ -392,7 +392,7 @@ bool monster_pathfind::traversable(const coord_def p) if (mons) return mons_traversable(p); - return (!feat_is_solid(grd(p)) && !feat_destroys_items(grd(p))); + return feat_has_solid_floor(grd(p)); } // Checks whether a given monster can pass over a certain position, respecting -- cgit v1.2.3-54-g00ecf