]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix typo in last commit
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 1 Aug 2009 19:42:54 +0000 (19:42 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 1 Aug 2009 19:42:54 +0000 (19:42 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9082 d7cf8633-e32d-0410-b094-e92efae38249

model_alias.c

index 3bf86ea937a2d17d8ace793da91f00c68e03f05f..952201121f24400c45cb03d75b416d9a2de01455 100644 (file)
@@ -650,7 +650,7 @@ static void Mod_MDLMD2MD3_TraceBox(dp_model_t *model, int frame, trace_t *trace,
        {
                // line trace
                VectorAdd(start, boxmins, shiftstart);
-               VectorAdd(shiftend, boxmins, shiftend);
+               VectorAdd(end, boxmins, shiftend);
                segmentmins[0] = min(shiftstart[0], shiftend[0]) - 1;
                segmentmins[1] = min(shiftstart[1], shiftend[1]) - 1;
                segmentmins[2] = min(shiftstart[2], shiftend[2]) - 1;