Fix the flying backpacks, just moving two lines, one of which is a comment.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1877
d7cf8633-e32d-0410-b094-
e92efae38249
rhc.trace->plane.normal[1] = DotProduct (tempd, left);
rhc.trace->plane.normal[2] = DotProduct (tempd, up);
}
- // fix offset
- VectorAdd (rhc.trace->endpos, offset, rhc.trace->endpos);
rhc.trace->ent = (void *) cent;
}
else if (rhc.trace->allsolid || rhc.trace->startsolid)
rhc.trace->ent = (void *) cent;
+ // fix offset
+ VectorAdd (rhc.trace->endpos, offset, rhc.trace->endpos);
}
else
{