summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 4a27100c6..90069f409 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -9370,7 +9370,7 @@ int atcommand_mobinfo(
clif_displaymessage(fd, " Drops:");
strcpy(atcmd_output, " ");
j = 0;
- for (i = 0; i < 10; i++) {
+ for (i = 0; i < MAX_MOB_DROP; i++) {
if (mob->dropitem[i].nameid <= 0 || (item_data = itemdb_search(mob->dropitem[i].nameid)) == NULL)
continue;
if (mob->dropitem[i].p > 0) {