summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-28 03:55:01 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-28 03:55:01 +0000
commit64f7f988ec09f2b35ebd1214115dde6b2b0db88a (patch)
tree0d23489ee0a2c2ac814fe849fce8b9d58675c0e7 /src/map/pc.c
parentdfab00942f8acf6b8ccb58c359fee026919730a4 (diff)
downloadhercules-64f7f988ec09f2b35ebd1214115dde6b2b0db88a.tar.gz
hercules-64f7f988ec09f2b35ebd1214115dde6b2b0db88a.tar.bz2
hercules-64f7f988ec09f2b35ebd1214115dde6b2b0db88a.tar.xz
hercules-64f7f988ec09f2b35ebd1214115dde6b2b0db88a.zip
- Fixed mob-skill event "skillused" not triggering at all.
- Summoned mobs will only be removed from a map if their master is also removed (dynamic mobs) - Minor cleanups git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9088 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 663667207..3f9e5eb3d 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -5549,7 +5549,7 @@ int pc_jobchange(struct map_session_data *sd,int job, int upper)
if(i != sd->sc.option)
pc_setoption(sd, i);
- if(sd->hd && merc_is_hom_active(sd->hd) && !pc_checkskill(sd, AM_CALLHOMUN))
+ if(merc_is_hom_active(sd->hd) && !pc_checkskill(sd, AM_CALLHOMUN))
merc_hom_vaporize(sd, 0);
if(sd->status.manner < 0)