summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/homunculus.c2
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))