mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-24 20:51:35 +00:00
Copy the component out of the pool so that it can be overwritten now, thus removing it from the pool, before actually destroying the component so that any recursive removals of the same component don't mess up the indices, and also don't try to remove the component from the same entity. This fixes a rather sneaky component leak caused by said recursion. |
||
---|---|---|
.. | ||
test | ||
component.c | ||
ecs.c | ||
entity.c | ||
hierarchy.c | ||
Makemodule.am | ||
subpool.c |