diff options
-rw-r--r-- | world/map/npc/functions/spawns_on_mobkill.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/world/map/npc/functions/spawns_on_mobkill.txt b/world/map/npc/functions/spawns_on_mobkill.txt index 0d9596db..fadb6cd1 100644 --- a/world/map/npc/functions/spawns_on_mobkill.txt +++ b/world/map/npc/functions/spawns_on_mobkill.txt @@ -65,7 +65,7 @@ function|script|spawn_mobs_around set .@mobID, getarg(3, -1); // Mob ID to spawn. set .@mobQTY, getarg(4, -1); // Amount. if ((.@map$ == "") || (.@mobX < 1) || (.@mobY < 1) || (.@mobID < 1002) || - (.@mobX > getmapmaxx(.@map$)) || (.@mobX > getmapmaxy(.@map$)) || + (.@mobX > getmapmaxx(.@map$)) || (.@mobY > getmapmaxy(.@map$)) || (.@mobQTY < 1)) // Invalid parameters given? goto L_Abort; // Yell and return if ((.@mobX > 1) && (.@mobY > 1) && (.@mobX < getmapmaxx(.@map$)) && |