summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-26 05:08:45 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-26 05:08:45 +0000
commit9e0e5c1f9ecb289169321072bbb0275f12aa515b (patch)
treecadbb22efb60d47163f0e9dd55ceafd0cb096d3f /src/map/skill.c
parent0b27e84e040963c35dbbf1ff1440fbc2b0e5142d (diff)
downloadhercules-9e0e5c1f9ecb289169321072bbb0275f12aa515b.tar.gz
hercules-9e0e5c1f9ecb289169321072bbb0275f12aa515b.tar.bz2
hercules-9e0e5c1f9ecb289169321072bbb0275f12aa515b.tar.xz
hercules-9e0e5c1f9ecb289169321072bbb0275f12aa515b.zip
- 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
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
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;