summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 0eb1a9833..3d883a2f1 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -2508,7 +2508,7 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type) {
for(i = 0; i < MAX_MVP_DROP; i++) {
while( 1 ) {
- int va = rand()%MAX_MVP_DROP;
+ int va = rnd()%MAX_MVP_DROP;
if( !mdrop_id[va] || !md->db->mvpitem[i].nameid ) {
mdrop_id[va] = md->db->mvpitem[i].nameid;
mdrop_p[va] = md->db->mvpitem[i].p;