1
This commit is contained in:
parent
0218fd633b
commit
2a8f8781fd
@ -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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user