summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-11-09 17:44:43 -0200
committershennetsind <ind@henn.et>2013-11-09 17:44:43 -0200
commitcc31feab45b8ca95fe23823258213dac2e263f48 (patch)
treefe2cca20bb9990f6a275a30ed7afff07a671fba4 /src
parent4571a948eea6e082191a530f3f7d3ecb8b4602d1 (diff)
downloadhercules-cc31feab45b8ca95fe23823258213dac2e263f48.tar.gz
hercules-cc31feab45b8ca95fe23823258213dac2e263f48.tar.bz2
hercules-cc31feab45b8ca95fe23823258213dac2e263f48.tar.xz
hercules-cc31feab45b8ca95fe23823258213dac2e263f48.zip
Follow up 7803b4e0d437681aa09113b5240363d03d85a1b8
The commit said "4. pc_jobchange now correctly vaporizes the homun. " while it actually fixed it on skillreset, this commit fixes it on pc_jobchange and on pc_dead. Special Thanks to kyeme! Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src')
-rw-r--r--src/map/pc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index a11d5a8d9..7a04f1fb8 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -6805,7 +6805,7 @@ int pc_dead(struct map_session_data *sd,struct block_list *src) {
if (sd->status.hom_id > 0){
if(battle_config.homunculus_auto_vapor && sd->hd && !sd->hd->sc.data[SC_LIGHT_OF_REGENE])
- homun->vaporize(sd, HOM_ST_ACTIVE);
+ homun->vaporize(sd, HOM_ST_REST);
}
if( sd->md )
@@ -7750,7 +7750,7 @@ int pc_jobchange(struct map_session_data *sd,int job, int upper)
pc->setoption(sd, i);
if(homun_alive(sd->hd) && !pc->checkskill(sd, AM_CALLHOMUN))
- homun->vaporize(sd, HOM_ST_ACTIVE);
+ homun->vaporize(sd, HOM_ST_REST);
if(sd->status.manner < 0)
clif->changestatus(sd,SP_MANNER,sd->status.manner);