summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorshinomori <shinomori@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-08 11:13:46 +0000
committershinomori <shinomori@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-08 11:13:46 +0000
commita274ac2f3b93bca1632d7273503bdbe6d83c9af6 (patch)
tree30ce8cff1eec9f20aefc00ce0c252126d004dc60 /src/map/mob.c
parentf1900833f9281faebd5cc4625238ee4b491812b3 (diff)
downloadhercules-a274ac2f3b93bca1632d7273503bdbe6d83c9af6.tar.gz
hercules-a274ac2f3b93bca1632d7273503bdbe6d83c9af6.tar.bz2
hercules-a274ac2f3b93bca1632d7273503bdbe6d83c9af6.tar.xz
hercules-a274ac2f3b93bca1632d7273503bdbe6d83c9af6.zip
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1213 54d463be-8e91-2dee-dedb-b68131a5f0ec
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;