1
This commit is contained in:
parent
47b863f60d
commit
170650a4ac
@ -798,10 +798,13 @@ void Room::InternalRemoveObjectLater(Entity* entity, a8::Attacher& xtimer_attach
|
|||||||
#endif
|
#endif
|
||||||
delete entity;
|
delete entity;
|
||||||
};
|
};
|
||||||
xtimer.SetTimeoutEx
|
if (!entity->removing) {
|
||||||
(NEXT_FRAME_TIMER,
|
entity->removing = true;
|
||||||
remove_func,
|
xtimer.SetTimeoutEx
|
||||||
&xtimer_attacher);
|
(NEXT_FRAME_TIMER,
|
||||||
|
remove_func,
|
||||||
|
&xtimer_attacher);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Room::OnHumanDie(Human* hum)
|
void Room::OnHumanDie(Human* hum)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user