From 943371d5abcbaad9e653c37c955e62be98a6d5f2 Mon Sep 17 00:00:00 2001 From: FlavioJS Date: Sun, 23 Nov 2008 02:07:17 +0000 Subject: * Readded code that was removed from atcommand_showmobs by mistake in the previous commit. (r13383) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13384 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/atcommand.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/map') 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; -- cgit v1.2.3-70-g09d2