From 76596a5ea224f9ed96f1282b526a86a32032c547 Mon Sep 17 00:00:00 2001 From: abrahamwl Date: Sat, 31 Oct 2009 06:16:23 -0700 Subject: Combine mons_is_submerged(monsters *m) into monsters::submerged() ...and replace all references to mons_is_submerged() with submerged(). It's a dirty job, but someone's got to do it. (Thank God for regex!) --- crawl-ref/source/tilepick.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/tilepick.cc') diff --git a/crawl-ref/source/tilepick.cc b/crawl-ref/source/tilepick.cc index c56e79f1e6..775f51b939 100644 --- a/crawl-ref/source/tilepick.cc +++ b/crawl-ref/source/tilepick.cc @@ -2409,7 +2409,7 @@ int tileidx_feature(int object, int gx, int gy) { monsters *mon = &menv[mgrd[gx][gy]]; // Add disturbance to tile. - if (mons_is_submerged(mon)) + if (mon->submerged()) t += tile_dngn_count(t); } -- cgit v1.2.3-54-g00ecf