]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Add some physics-related comments
authorbones_was_here <bones_was_here@xonotic.au>
Fri, 1 Sep 2023 09:36:36 +0000 (19:36 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Tue, 19 Sep 2023 15:46:00 +0000 (01:46 +1000)
Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
prvm_edict.c
sv_phys.c

index ea8392751e9760f2aff73c0881557e1f7c608557..858ab357c500c39b23c4339e31bf5b9e20976fed 100644 (file)
@@ -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)
index e9cc191490e37ad3b10507102d04ce029e8ba9a1..77c3bacfc71058bb7a66e957ded188571f8be71a 100644 (file)
--- 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;