From: bones_was_here Date: Fri, 1 Sep 2023 09:36:36 +0000 (+1000) Subject: Add some physics-related comments X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2b58aa548201637dc500b28990b317af2942a803;p=xonotic%2Fdarkplaces.git Add some physics-related comments Signed-off-by: bones_was_here --- diff --git a/prvm_edict.c b/prvm_edict.c index ea839275..858ab357 100644 --- a/prvm_edict.c +++ b/prvm_edict.c @@ -297,7 +297,11 @@ prvm_edict_t *PRVM_ED_Alloc(prvm_prog_t *prog) PRVM_ED_Free Marks the edict as free + FIXME: walk all entities and NULL out references to this entity +bones_was_here: do not want, that would break chains immediately! +Currently chains aren't broken by removing an entity, at least with prvm_reuseedicts_neverinsameframe 1 +which is very handy and some QC code will depend on it. ================= */ void PRVM_ED_Free(prvm_prog_t *prog, prvm_edict_t *ed) diff --git a/sv_phys.c b/sv_phys.c index e9cc1914..77c3bacf 100644 --- a/sv_phys.c +++ b/sv_phys.c @@ -2950,6 +2950,7 @@ static void SV_Physics_ClientEntity_NoThink (prvm_edict_t *ent) } } +// asynchronous path void SV_Physics_ClientMove(void) { prvm_prog_t *prog = SVVM_prog;