This commit is contained in:
aozhiwei 2023-03-30 12:08:37 +08:00
parent b9c01688c3
commit 63840e4eac

View File

@ -1739,6 +1739,7 @@ void Creature::RemoveSurplusHero(int hero_id, int num)
Hero* hero = list_first_entry(&itr->second,
Hero,
entry);
hero->Destory();
list_del_init(&hero->entry);
--exists_num;
}