diff options
-rw-r--r-- | src/map/mob.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index e5d3d6873..d76f1eac6 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -123,7 +123,7 @@ int mobdb_searchname_array(struct mob_db** data, int size, const char *str) struct mob_db* mob; for(i=0;i<=MAX_MOB_DB;i++){ mob = mob_db(i); - if (mob == mob_dummy) + if (mob == mob_dummy || mob_is_clone(i) ) //keep clones out (or you leak player stats) continue; if (!mobdb_searchname_array_sub(mob, str)) { if (count < size) |