summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.h
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-09 20:22:37 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-09 20:22:37 +0000
commit297b7ce16954e5144b7d11b3202a60b331a9a940 (patch)
treec0e0ab2bfbb514a6850ad33452e94e7787e9f555 /crawl-ref/source/monstuff.h
parentd148c905a225bcf679e2c7e285eb15265e89fe5f (diff)
downloadcrawl-ref-297b7ce16954e5144b7d11b3202a60b331a9a940.tar.gz
crawl-ref-297b7ce16954e5144b7d11b3202a60b331a9a940.zip
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
Diffstat (limited to 'crawl-ref/source/monstuff.h')
-rw-r--r--crawl-ref/source/monstuff.h4
1 files changed, 2 insertions, 2 deletions
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}
/* ***********************************************************************