summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.h
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-15 06:36:07 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-15 06:36:07 +0000
commit62cba73fa0b680b992c6c11ba59268617abd35ae (patch)
tree2895b3f5acd644d2579c5798c913207d0cf8cf33 /crawl-ref/source/player.h
parenta1b82e6be0343a691d342b48dd9f9076ad53453a (diff)
downloadcrawl-ref-62cba73fa0b680b992c6c11ba59268617abd35ae.tar.gz
crawl-ref-62cba73fa0b680b992c6c11ba59268617abd35ae.zip
Some fixes for mermaid beholding:
* A mermaid stops beholding if it polymorphs into something else. * If new walls are created, then Crawl stops the beholdment of any mermaid that gets hidden by the new walls. * Do paranoid sanity checking on beholders before each command with check_beholders() and try to restore sanity if any bugs are found (and give a diagnostics message if DEBUG is set). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2465 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/player.h')
-rw-r--r--crawl-ref/source/player.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/player.h b/crawl-ref/source/player.h
index 95e35193f9..fcfcb6a0c1 100644
--- a/crawl-ref/source/player.h
+++ b/crawl-ref/source/player.h
@@ -265,6 +265,7 @@ bool player_monster_visible( const monsters *mon );
bool player_beheld_by( const monsters *mon );
void update_beholders( const monsters *mon, bool force = false);
+void check_beholders();
/* ***********************************************************************
* called from: acr - decks - it_use2 - ouch