summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/emap/homunculus.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/emap/homunculus.c b/src/emap/homunculus.c
index df9bafb..23c9ab6 100644
--- a/src/emap/homunculus.c
+++ b/src/emap/homunculus.c
@@ -19,6 +19,7 @@ int ehomunculus_gainexp_pre(struct homun_data **hdPtr,
nullpo_ret(hd);
const int exp = *expPtr;
- send_homun_exp(hd, exp);
+ if (hd->homunculus.vaporize == HOM_ST_ACTIVE)
+ send_homun_exp(hd, exp);
return 0;
}