From 2b58aa548201637dc500b28990b317af2942a803 Mon Sep 17 00:00:00 2001 From: bones_was_here Date: Fri, 1 Sep 2023 19:36:36 +1000 Subject: [PATCH] Add some physics-related comments Signed-off-by: bones_was_here --- prvm_edict.c | 4 ++++ sv_phys.c | 1 + 2 files changed, 5 insertions(+) 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; -- 2.39.2