Просмотр исходного кода

Remove the debug message for a wrong mob id in getmonsterinfo script command (already return a value)

Capuche 11 лет назад
Родитель
Сommit
5e44c68a49
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/map/script.c

+ 1 - 1
src/map/script.c

@@ -15716,7 +15716,7 @@ BUILDIN_FUNC(getmonsterinfo)
 			script_pushconststr(st,"null");
 		else
 			script_pushint(st,-1);
-		return -1;
+		return 0;
 	}
 	mob = mob_db(mob_id);
 	switch ( script_getnum(st,3) ) {