diff options
author | pauldubois <pauldubois@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-02 05:05:23 +0000 |
---|---|---|
committer | pauldubois <pauldubois@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-02 05:05:23 +0000 |
commit | fda9371e36ffcf798c20f134a883e6722d6340e3 (patch) | |
tree | 7b80e669c75e125486120867a21df9b8e93e5d3f /crawl-ref | |
parent | 4c18aa957d08fefa69acbfe47d983b1f909ab013 (diff) | |
download | crawl-ref-fda9371e36ffcf798c20f134a883e6722d6340e3.tar.gz crawl-ref-fda9371e36ffcf798c20f134a883e6722d6340e3.zip |
Fix bug caught by MSVC, yay.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4041 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/output.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/output.cc b/crawl-ref/source/output.cc index 53776a2d86..d20fadacbb 100644 --- a/crawl-ref/source/output.cc +++ b/crawl-ref/source/output.cc @@ -834,7 +834,7 @@ class monster_pane_info // Currently, difficulty is defined as "average hp". Leaks too much info? const monsterentry* me = get_monster_data(m->type); - m_difficulty = me->hpdice[0] * (me->hpdice[1] + me->hpdice[2]>>1) + m_difficulty = me->hpdice[0] * (me->hpdice[1] + (me->hpdice[2]>>1)) + me->hpdice[3]; m_brands = 0; |