shithub: qk1

Download patch

ref: 73fca33b06e2ebb61473d295fdd39f8bbf57e4dd
parent: ba66476bc4dad2003cd5b404ef13c84d882cf35a
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Fri Nov 10 15:32:59 EST 2023

physics: don't touch the triggers when in noclip mode (thanks mh)

--- a/sv_phys.c
+++ b/sv_phys.c
@@ -890,7 +890,7 @@
 	}
 
 	// call standard player post-think
-	SV_LinkEdict (ent, true);
+	SV_LinkEdict (ent, (int)ent->v.movetype != MOVETYPE_NOCLIP);
 
 	pr_global_struct->time = sv.time;
 	pr_global_struct->self = EDICT_TO_PROG(ent);