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