OSDN Git Service
(root)
/
hengband
/
hengband.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[Refactor] #37353 return の直後にあるカッコを削除 (-1~9のみ) / Removed parenthesis right after...
[hengband/hengband.git]
/
src
/
z-rand.c
diff --git
a/src/z-rand.c
b/src/z-rand.c
index
f160e54
..
99b0026
100644
(file)
--- a/
src/z-rand.c
+++ b/
src/z-rand.c
@@
-193,7
+193,7
@@
static s32b Rand_div_impl(s32b m, u32b* state)
u32b ret;
/* Hack -- simple case */
- if (m <= 1) return
(0)
;
+ if (m <= 1) return
0
;
scaling = Rand_Xorshift_max / m;
past = scaling * m;