summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.h
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-15 10:32:44 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-15 10:32:44 +0000
commitf1e3ca24060130e0c9205de20e367bcf814896d1 (patch)
tree5a900298361fcf5aa201d39d5b898ab6167072a9 /crawl-ref/source/fight.h
parent2b0fe052f4617b1b52fd952a35bfbc4f273dac81 (diff)
downloadcrawl-ref-f1e3ca24060130e0c9205de20e367bcf814896d1.tar.gz
crawl-ref-f1e3ca24060130e0c9205de20e367bcf814896d1.zip
Fix problem of friendly monsters not using any energy when there's
nothing around to fight and they're right next to the player. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2467 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/fight.h')
-rw-r--r--crawl-ref/source/fight.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/fight.h b/crawl-ref/source/fight.h
index bf44785488..03984b03b9 100644
--- a/crawl-ref/source/fight.h
+++ b/crawl-ref/source/fight.h
@@ -54,7 +54,7 @@ bool you_attack(int monster_attacked, bool unarmed_attacks);
/* ***********************************************************************
* called from: monstuff
* *********************************************************************** */
-void monster_attack(int monster_attacking);
+bool monster_attack(int monster_attacking);
// last updated: 08jun2000 {dlb}