Преглед изворни кода

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

Capuche пре 11 година
родитељ
комит
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) ) {