mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-29 23:52:22 +00:00
06f410b0b6
I don't know why it didn't happen during the demo loop, but going from the start map to e1m1 caused a segfault due to the efrags for a lava ball getting double freed (however, I do think it might be because the ball passed through at least two leafs, while entities in the demos did not). The double free was because SCR_NewScene (indirectly) freed all the efrags without removing them from entities, and then the client code deleting the entities caused the visibility components to get deleted and thus the efrags freed a second time. Using ECS_RemoveEntities on the visibility component ensures the entities don't have a visibility component to remove when they are later deleted. |
||
---|---|---|
.. | ||
test | ||
camera.c | ||
efrag.c | ||
entity.c | ||
light.c | ||
Makemodule.am | ||
scene.c | ||
transform.c |