diff options
author | skyleo <skyleo@skyleo.de> | 2020-02-06 00:28:07 +0100 |
---|---|---|
committer | skyleo <skyleo@skyleo.de> | 2020-02-06 00:28:07 +0100 |
commit | d29e1f49ade177e675b9760efa91777392243c8c (patch) | |
tree | 83ab94cc4123da5b14155f3af6345488b4b616e3 /src/test | |
parent | c03722679a01e5f181c2138565e95a6b0981a124 (diff) | |
download | hercules-d29e1f49ade177e675b9760efa91777392243c8c.tar.gz hercules-d29e1f49ade177e675b9760efa91777392243c8c.tar.bz2 hercules-d29e1f49ade177e675b9760efa91777392243c8c.tar.xz hercules-d29e1f49ade177e675b9760efa91777392243c8c.zip |
Fix W_RIFLE damage calculation being too low than intended
Rifle type weapons had a broken call to battle_calc_base_damage2 since
they were passing the flag value 18 and flag&16 != 0 as stated by the
documentation shall only be the case when no gun or bow is equipped.
This bug existed since 2006 and got introduced by the commit e24d467f1ae47475e3441d7453f549e22f46f541 .
Diffstat (limited to 'src/test')
0 files changed, 0 insertions, 0 deletions