]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - world_cs.c
changed collision code to report supercontents, surfaceflags, and texture that was...
[xonotic/darkplaces.git] / world_cs.c
index 4a24d25fafe298f2ae9354bf437b1f37497d967a..a3837e48bfcb3136467701d9df9b29177ee2379b 100644 (file)
@@ -690,6 +690,9 @@ trace_t CSSV_Move(const vec3_t start, const vec3_t mins, const vec3_t maxs, cons
                        VectorCopy(trace.endpos, cliptrace.endpos);
                        cliptrace.plane = trace.plane;
                        cliptrace.ent = touch;
+                       cliptrace.hitsupercontents = trace.hitsupercontents;
+                       cliptrace.hitq3surfaceflags = trace.hitq3surfaceflags;
+                       cliptrace.hittexture = trace.hittexture;
                }
                cliptrace.startsupercontents |= trace.startsupercontents;
        }