From 9e0e5c1f9ecb289169321072bbb0275f12aa515b Mon Sep 17 00:00:00 2001 From: skotlex Date: Sun, 26 Mar 2006 05:08:45 +0000 Subject: - Fixed the map-server freeze/crash on Warp Portal. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5751 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/skill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/skill.c') diff --git a/src/map/skill.c b/src/map/skill.c index 0c3ec8c7d..3d8aa3544 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -6590,7 +6590,7 @@ int skill_unit_onplace(struct skill_unit *src,struct block_list *bl,unsigned int skill_delunitgroup(sg); } } - } else if(battle_config.mob_warpportal) + } else if(battle_config.mob_warpportal && bl->type != BL_PET) unit_warp(bl,map_mapindex2mapid(sg->val3),sg->val2>>16,sg->val2&0xffff,3); break; -- cgit v1.2.3-70-g09d2