From ca3f103a32221eda0929927563e4f9961472afdf Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sun, 18 Jan 2015 11:57:42 -0200 Subject: Replacing rand leftovers with the mt19937ar Signed-off-by: shennetsind --- src/map/status.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/status.c') diff --git a/src/map/status.c b/src/map/status.c index e61c1df19..6836d9b70 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -9025,7 +9025,7 @@ int status_change_start(struct block_list *src, struct block_list *bl, enum sc_t { int hp = status_get_hp(bl), sp = status_get_sp(bl), lv = 5; - if( rand()%100 > (25 + 10 * val1) - status_get_int(bl) / 2) + if( rnd()%100 > (25 + 10 * val1) - status_get_int(bl) / 2) return 0; PER( 100 / (status_get_max_hp(bl) / hp), lv ); -- cgit v1.2.3-60-g2f50