Ver código fonte

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

Capuche 11 anos atrás
pai
commit
5e44c68a49
1 arquivos alterados com 1 adições e 1 exclusões
  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) ) {