summaryrefslogtreecommitdiff
path: root/src/common/random.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/random.h')
-rw-r--r--src/common/random.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/random.h b/src/common/random.h
index 59b609464..43dfd36c0 100644
--- a/src/common/random.h
+++ b/src/common/random.h
@@ -9,7 +9,7 @@
void rnd_init(void);
void rnd_seed(uint32);
-uint32 rnd(void);// [0, UINT32_MAX]
+int32 rnd(void);// [0, SINT32_MAX]
uint32 rnd_roll(uint32 dice_faces);// [0, dice_faces)
int32 rnd_value(int32 min, int32 max);// [min, max]
double rnd_uniform(void);// [0.0, 1.0)