1
This commit is contained in:
parent
d67e843c69
commit
c83bb05cee
@ -40,7 +40,9 @@ void Buff::UnInit()
|
|||||||
list_del_init(&cond_entry);
|
list_del_init(&cond_entry);
|
||||||
}
|
}
|
||||||
while (!list_empty(&on_remove_contexts)) {
|
while (!list_empty(&on_remove_contexts)) {
|
||||||
RemoveBuffCbConext* cb = list_last_entry(&on_remove_contexts, RemoveBuffCbConext, entry);
|
RemoveBuffCbConext* cb = list_last_entry(&on_remove_contexts,
|
||||||
|
RemoveBuffCbConext,
|
||||||
|
entry);
|
||||||
*cb->next = (*cb->next)->next;
|
*cb->next = (*cb->next)->next;
|
||||||
list_del_init(&cb->entry);
|
list_del_init(&cb->entry);
|
||||||
}
|
}
|
||||||
@ -420,7 +422,7 @@ void Buff::ProcSprint()
|
|||||||
// 999
|
// 999
|
||||||
#if 1
|
#if 1
|
||||||
#else
|
#else
|
||||||
buff->owner->SetPos((pre_pos) + (dir * i));
|
buff->owner->MutablePos.FromVec2((pre_pos) + (dir * i));
|
||||||
#endif
|
#endif
|
||||||
buff->owner->GetHitEnemys(enemys, buff->meta->param4);
|
buff->owner->GetHitEnemys(enemys, buff->meta->param4);
|
||||||
for (auto& enemy : enemys) {
|
for (auto& enemy : enemys) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user