]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix a bug with using the wrong trace end variable in the COLLISIONPARANOID print
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 24 Dec 2003 21:24:49 +0000 (21:24 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 24 Dec 2003 21:24:49 +0000 (21:24 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3754 d7cf8633-e32d-0410-b094-e92efae38249

sv_move.c

index ba108830ff179e67d035a027e18ec327e807f38a..c7053c22788a03fa2b878041f83e311fe2481d91 100644 (file)
--- a/sv_move.c
+++ b/sv_move.c
@@ -144,7 +144,7 @@ qboolean SV_movestep (edict_t *ent, vec3_t move, qboolean relink)
                if (trace.startsolid || endstuck)
 #endif
                {
-                       Con_Printf("%s{e%i:%f %f %f:%f %f %f:%f:%f %f %f%s%s}\n", (trace.startsolid || endstuck) ? "\002" : "", ent - sv.edicts, ent->v->origin[0], ent->v->origin[1], ent->v->origin[2], end[0] - ent->v->origin[0], end[1] - ent->v->origin[1], end[2] - ent->v->origin[2], trace.fraction, trace.endpos[0] - ent->v->origin[0], trace.endpos[1] - ent->v->origin[1], trace.endpos[2] - ent->v->origin[2], trace.startsolid ? " startstuck" : "", endstuck ? " endstuck" : "");
+                       Con_Printf("%s{e%i:%f %f %f:%f %f %f:%f:%f %f %f%s%s}\n", (trace.startsolid || endstuck) ? "\002" : "", ent - sv.edicts, ent->v->origin[0], ent->v->origin[1], ent->v->origin[2], neworg[0] - ent->v->origin[0], neworg[1] - ent->v->origin[1], neworg[2] - ent->v->origin[2], trace.fraction, trace.endpos[0] - ent->v->origin[0], trace.endpos[1] - ent->v->origin[1], trace.endpos[2] - ent->v->origin[2], trace.startsolid ? " startstuck" : "", endstuck ? " endstuck" : "");
                        //Con_Printf("trace %f %f %f : %f : %f %f %f\n", trace.endpos[0], trace.endpos[1], trace.endpos[2], trace.fraction, trace.plane.normal[0], trace.plane.normal[1], trace.plane.normal[2]);
                        if (endstuck)
                                Cbuf_AddText("disconnect\n");