diff options
author | Haru <haru@dotalux.com> | 2020-02-09 23:33:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-09 23:33:54 +0100 |
commit | 23537d239343a856f638307c341c9e1d2fa34330 (patch) | |
tree | 7bf870480cf0087bb242415503818847ca9184bd | |
parent | b69b32d6f90968443380978237692cf865b57f56 (diff) | |
parent | ea17b73a2b8cd0438317f1afb62e929abc73bc4f (diff) | |
download | hercules-23537d239343a856f638307c341c9e1d2fa34330.tar.gz hercules-23537d239343a856f638307c341c9e1d2fa34330.tar.bz2 hercules-23537d239343a856f638307c341c9e1d2fa34330.tar.xz hercules-23537d239343a856f638307c341c9e1d2fa34330.zip |
Merge pull request #2626 from skyleo/homunculus_ghost_fix
Fix Homunculi being partially vaporized.
-rw-r--r-- | src/map/homunculus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/homunculus.c b/src/map/homunculus.c index 189cf29e4..65c457283 100644 --- a/src/map/homunculus.c +++ b/src/map/homunculus.c @@ -179,7 +179,7 @@ static int homunculus_vaporize(struct map_session_data *sd, enum homun_state sta nullpo_ret(sd); hd = sd->hd; - if (!hd || hd->homunculus.vaporize != HOM_ST_ACTIVE) + if (hd == NULL || hd->bl.prev == NULL || hd->homunculus.vaporize != HOM_ST_ACTIVE) return 0; if (status->isdead(&hd->bl)) |