summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/atcommand.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index f3cca853a..643c7c1f4 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -7054,6 +7054,9 @@ int atcommand_showmobs(const int fd, struct map_session_data* sd, const char* co
if( md == NULL )
break;// no more mobs
+ if( md->special_state.ai || md->master_id )
+ continue;//Hide slaves and player summoned mobs. [Skotlex]
+
if( mob_id == -1 || md->class_ == mob_id )
{
++number;