This commit is contained in:
aozhiwei 2023-10-26 19:15:49 +08:00
parent 0218fd633b
commit 2a8f8781fd

View File

@ -3639,4 +3639,11 @@ void Creature::ActivateTargetValidPos()
void Creature::RemoveHideEffect(int reason) void Creature::RemoveHideEffect(int reason)
{ {
list_head* head = &buff_effect_[kBET_Hide]; list_head* head = &buff_effect_[kBET_Hide];
list_head* pos = nullptr;
list_head* next = nullptr;
list_for_each_safe(pos, next, head) {
Buff* buff = list_entry(pos,
Buff,
effect_entry);
}
} }