diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2014-10-15 14:08:45 +0200 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2014-10-15 14:08:45 +0200 |
commit | e3aa6e48577f3247653e94a76b68a4626a630c65 (patch) | |
tree | 2efec4c43cab7bff0173ad68ef0ab4400addf6dd /src/FastRandom.h | |
parent | cWorld: Fixed scheduler. (diff) | |
download | cuberite-e3aa6e48577f3247653e94a76b68a4626a630c65.tar cuberite-e3aa6e48577f3247653e94a76b68a4626a630c65.tar.gz cuberite-e3aa6e48577f3247653e94a76b68a4626a630c65.tar.bz2 cuberite-e3aa6e48577f3247653e94a76b68a4626a630c65.tar.lz cuberite-e3aa6e48577f3247653e94a76b68a4626a630c65.tar.xz cuberite-e3aa6e48577f3247653e94a76b68a4626a630c65.tar.zst cuberite-e3aa6e48577f3247653e94a76b68a4626a630c65.zip |
Diffstat (limited to '')
-rw-r--r-- | src/FastRandom.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FastRandom.h b/src/FastRandom.h index cebebad96..5a8ac097a 100644 --- a/src/FastRandom.h +++ b/src/FastRandom.h @@ -30,7 +30,7 @@ salts, the values they get will be different. class cFastRandom { public: - cFastRandom(void); + cFastRandom(int a_Seed = -1); /// Returns a random int in the range [0 .. a_Range - 1]; a_Range must be less than 1M int NextInt(int a_Range); |