diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-10-05 17:32:48 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-10-05 17:32:48 +0000 |
commit | 80fecf85c7f71459be06963e30fdcf0a8d2c7528 (patch) | |
tree | 7d1a5ff253261df74bbe7285f5665d9c4215ca18 /crawl-ref/source | |
parent | 341e6e03d6347b96c54d6a295c81070d13ea9152 (diff) | |
download | crawl-ref-80fecf85c7f71459be06963e30fdcf0a8d2c7528.tar.gz crawl-ref-80fecf85c7f71459be06963e30fdcf0a8d2c7528.zip |
Simplify.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7140 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-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 f4fe83941e..e1394d70ca 100644 --- a/crawl-ref/source/mon-util.cc +++ b/crawl-ref/source/mon-util.cc @@ -6682,7 +6682,7 @@ int monsters::action_energy(energy_use_type et) const // (HT_LAND, such as hydras) and those that favour water // (HT_WATER, such as merfolk), but that's something we // can think about. - if (mons_class_flag(type, M_AMPHIBIOUS)) + if (mons_class_amphibious(type)) return div_rand_round(mu.swim * 7, 10); else return mu.swim; |