diff options
author | Haru <haru@dotalux.com> | 2015-12-20 02:24:07 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-01-29 10:58:57 +0100 |
commit | 8121e1d12dca0c85892ad45f0bb765e7eba770aa (patch) | |
tree | e2a322db5989a8c657dbd3fd9b697c14eb48d291 /src/map/battle.h | |
parent | b7c5b53cccac17765fd7445b390853f5a0eb1a4d (diff) | |
download | hercules-8121e1d12dca0c85892ad45f0bb765e7eba770aa.tar.gz hercules-8121e1d12dca0c85892ad45f0bb765e7eba770aa.tar.bz2 hercules-8121e1d12dca0c85892ad45f0bb765e7eba770aa.tar.xz hercules-8121e1d12dca0c85892ad45f0bb765e7eba770aa.zip |
Replaced several floating-point operations with integer operations
This fixes several rounding errors happening in various places (i.e.
the base exp for HORONG being calculated as 819 instead of 820 when the
server rates are set to 1x)
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/battle.h')
0 files changed, 0 insertions, 0 deletions