Explorar el Código

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

Capuche hace 11 años
padre
commit
5e44c68a49
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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) ) {