diff options
author | Matthias Klose <doko@debian.org> | 2017-09-13 13:25:47 -0700 |
---|---|---|
committer | Matthias Klose <doko@debian.org> | 2017-09-13 13:25:47 -0700 |
commit | c42f029316c0c004a795ca170bdb50644a800534 (patch) | |
tree | 91e54a6407b17e02e410dbe9a6335b2c4d74c245 /src | |
parent | 9714b44a37dfc03aa00187726beea7ed8257415e (diff) | |
parent | abc3836ffbf6083c2572f5c8622e4926c71ebc9c (diff) |
Record tome (2.4~0.git.2015.12.29-1.2) in archive suite sid
Diffstat (limited to 'src')
-rw-r--r-- | src/z-rand.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/z-rand.cc b/src/z-rand.cc index c06b7893..e2960a55 100644 --- a/src/z-rand.cc +++ b/src/z-rand.cc @@ -351,7 +351,7 @@ s32b maxroll(s16b num, s16b sides) return (num * sides); } -bool magik(int p) { +bool magik(s32b p) { return rand_int(100) < p; } |