Correct mons_avg_hp calculation.
authorNeil Moore <neil@s-z.org>
Sat, 30 Nov 2013 00:47:21 +0000 (19:47 -0500)
committerNeil Moore <neil@s-z.org>
Sat, 30 Nov 2013 00:47:21 +0000 (19:47 -0500)
commit7ac3f12e36a3c4a0c0354cf1ae994707f858a079
treee59d637a62d28a616c90c13a04eddee0de254c77
parent459e3e1e9ae031e4c9373fd908c13e8224898cb9
Correct mons_avg_hp calculation.

We were rounding too early, causing low numbers for monsters with an odd
hit die size (1 HP too low for every 2 HD).

We still round down rather than randomly so the function remains
deterministic.
crawl-ref/source/mon-util.cc