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 b313328c2..3fb7de38c 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -135,9 +135,9 @@ int mob_once_spawn(struct map_session_data *sd,char *mapname,
return 0;
if(class_<0){ // ランダムに召喚
+ int k;
i = 0;
j = -class_-1;
- int k;
if(j>=0 && j<MAX_RANDOMMONSTER){
do{
class_=rand()%1000+1001;