From 297b7ce16954e5144b7d11b3202a60b331a9a940 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sun, 9 Nov 2008 20:22:37 +0000 Subject: So many files? That's probably some debugging messages included, again... Anyway, I added a check to make sure that monsters that somehow end up in deep water (confusion!) can get out of it again if not aquatic. Monsters that can drown, will still do so, of course. I also removed the drowning conditional for zombies and skeletons. They'll now slog invisibly underwater and eventually reappear in shallow water or dry land. I think this is more interesting than making them drown. That, and they've seen a lot of nerfs lately. Oh, right, and I replaced some ENCH_SUBMERGED with mons_is_submerged(), that might explain the number of modified files... git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7427 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/monstuff.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/monstuff.h') diff --git a/crawl-ref/source/monstuff.h b/crawl-ref/source/monstuff.h index c41dc6daa7..cbc301a19f 100644 --- a/crawl-ref/source/monstuff.h +++ b/crawl-ref/source/monstuff.h @@ -87,8 +87,8 @@ bool monster_polymorph(monsters *monster, monster_type targetc, void monster_die(monsters *monster, killer_type killer, int killer_index, bool silent = false, bool wizard = false); -void mons_check_pool(monsters *monster, killer_type killer = KILL_NONE, - int killnum = -1); +void mons_check_pool(monsters *monster, const coord_def &oldpos, + killer_type killer = KILL_NONE, int killnum = -1); // last updated: 17dec2000 {gdl} /* *********************************************************************** -- cgit v1.2.3-54-g00ecf