OSDN Git Service
(root)
/
hengband
/
hengband.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88d2a1f
)
Fix compare_weapon calculation.
author
dis-
<dis-@0568b783-4c39-0410-ac80-bf13821ea2a2>
Mon, 24 Dec 2012 21:47:50 +0000
(21:47 +0000)
committer
dis-
<dis-@0568b783-4c39-0410-ac80-bf13821ea2a2>
Mon, 24 Dec 2012 21:47:50 +0000
(21:47 +0000)
src/bldg.c
patch
|
blob
|
history
diff --git
a/src/bldg.c
b/src/bldg.c
index
5949959
..
9933af6
100644
(file)
--- a/
src/bldg.c
+++ b/
src/bldg.c
@@
-3171,8
+3171,8
@@
static s16b calc_slaydam(int dam, int mult, int div, bool force)
if(force)
{
tmp = dam * 60;
- tmp *= mult * 3
/ 2
;
- tmp /= div;
+ tmp *= mult * 3;
+ tmp /= div
* 2
;
tmp += dam * 60 * 2;
tmp /= 60;
}