diff --git a/client.qc b/client.qc index 004904c..1969162 100644 --- a/client.qc +++ b/client.qc @@ -2825,7 +2825,9 @@ void() PlayerPreThink = if (trace_startsolid) { if (trace_ent.classname != "force_field") // hack, stuck in forcefield is okay here - self.stucktime++; + self.stucktime++; + + printtrace(0); deathmsg = DMSG_PHYSICS; if (self.stucktime >= 10) // one second until you die diff --git a/debug.qc b/debug.qc index bdd04a8..e878541 100644 --- a/debug.qc +++ b/debug.qc @@ -80,4 +80,9 @@ void (float oneline) printtrace = RPrint ("ent: " + (trace_ent ? "yes" : "no") + sep); RPrint ("inopen: " + ftos (trace_inopen) + sep); RPrint ("inwater: " + ftos (trace_inwater) + "\n"); + + if (trace_ent.solid == SOLID_NOT) + RPrint ("SV_Move on crack: clipped on SOLID_NOT."); + else if (trace_ent.solid == SOLID_TRIGGER) + RPrint ("SV_Move on crack: clipped on SOLID_TRIGGER."); };