This commit is contained in:
aozhiwei 2024-01-09 13:38:47 +08:00
parent 398941c8aa
commit 2e3ffeefea

View File

@ -71,7 +71,7 @@ void Ability::Clear()
while (!list_empty(&list)) {
AttrAddition* e = list_first_entry(&list,
AttrAddition,
entry);
list_entry);
list_del_init(&e->entry);
list_del_init(&e->list_entry);
e->holder = nullptr;
@ -81,7 +81,7 @@ void Ability::Clear()
while (!list_empty(&list)) {
AttrAddition* e = list_first_entry(&list,
AttrAddition,
entry);
list_entry);
list_del_init(&e->entry);
list_del_init(&e->list_entry);
e->holder = nullptr;