1
This commit is contained in:
parent
b9c01688c3
commit
63840e4eac
@ -1739,6 +1739,7 @@ void Creature::RemoveSurplusHero(int hero_id, int num)
|
|||||||
Hero* hero = list_first_entry(&itr->second,
|
Hero* hero = list_first_entry(&itr->second,
|
||||||
Hero,
|
Hero,
|
||||||
entry);
|
entry);
|
||||||
|
hero->Destory();
|
||||||
list_del_init(&hero->entry);
|
list_del_init(&hero->entry);
|
||||||
--exists_num;
|
--exists_num;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user