summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-util.h
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-06 23:35:51 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-06 23:35:51 +0000
commit673f730759ef96de4eb4a08da857b582d888762b (patch)
tree0da7dd8737410fa221d15ddab271eb01445d6267 /crawl-ref/source/mon-util.h
parentbc0e74bb8ed94b852b5e4fa1037ae3d3ab5cd7bc (diff)
downloadcrawl-ref-673f730759ef96de4eb4a08da857b582d888762b.tar.gz
crawl-ref-673f730759ef96de4eb4a08da857b582d888762b.zip
Properly calculate speed on the level of individual monsters.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9362 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mon-util.h')
-rw-r--r--crawl-ref/source/mon-util.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/mon-util.h b/crawl-ref/source/mon-util.h
index a814e39549..191da8b724 100644
--- a/crawl-ref/source/mon-util.h
+++ b/crawl-ref/source/mon-util.h
@@ -617,14 +617,15 @@ bool mons_skeleton(int mc);
* called from: describe - fight - items - misc - monstuff - mon-util -
* player - spells2 - spells3
* *********************************************************************** */
-int mons_weight(int mclass);
+int mons_weight(int mc);
// last updated 08may2001 {gdl}
/* ***********************************************************************
* called from: monplace mon-util
* *********************************************************************** */
-int mons_speed(int mc);
+int mons_class_speed(int mc);
+int mons_speed(const monsters *mon);
// last updated 12may2000 {dlb}