summaryrefslogtreecommitdiff
path: root/src/char/char.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/char/char.c')
-rw-r--r--src/char/char.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/char/char.c b/src/char/char.c
index 165f09bea..2ae226ca1 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -34,6 +34,7 @@
#include "char.h"
#include "inter.h"
#include "int_pet.h"
+#include "int_homun.h"
#include "int_guild.h"
#include "int_party.h"
#include "int_storage.h"
@@ -1853,6 +1854,8 @@ static int char_delete(struct mmo_charstatus *cs) {
// ybg폜
if (cs->pet_id)
inter_pet_delete(cs->pet_id);
+ if (cs->hom_id)
+ inter_homun_delete(cs->hom_id);
for (j = 0; j < MAX_INVENTORY; j++)
if (cs->inventory[j].card[0] == (short)0xff00)
inter_pet_delete(MakeDWord(cs->inventory[j].card[1],cs->inventory[j].card[2]));