diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-03-05 20:08:16 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-03-05 20:08:16 +0000 |
commit | cd3044ce7a7ad2f693ee52a4b3b194de34d36d9e (patch) | |
tree | 13b8bbde180b7a957555e8a2842545a64caf3a79 /crawl-ref | |
parent | 963af9e9edf31e62245cd66d19d5db6481f7ea22 (diff) | |
download | crawl-ref-cd3044ce7a7ad2f693ee52a4b3b194de34d36d9e.tar.gz crawl-ref-cd3044ce7a7ad2f693ee52a4b3b194de34d36d9e.zip |
Fix zombified monsters' speed downgrades: monsters::number no longer
holds the zombie base type, so properly use mons_zombie_base() instead.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9342 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/mon-util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc index 5979e6cca8..01764ca400 100644 --- a/crawl-ref/source/mon-util.cc +++ b/crawl-ref/source/mon-util.cc @@ -7460,7 +7460,7 @@ int monsters::base_speed(int mcls) void monsters::fix_speed() { if (mons_is_zombified(this)) - speed = base_speed(number) - 2; + speed = base_speed(mons_zombie_base(this)) - 2; else speed = base_speed(type); |