Well i fixed it and its not even hard.
Open up the solution and search for R_ShouldDrawViewModel, this should pop up quite a few places.
then modify all of those instances to look like this
Code: Select all
if (R_ShouldDrawViewModel())
{
if (gl_calcdepth.value)
{
glDepthRange (gldepthmin, gldepthmin + 0.1f * (gldepthmax - gldepthmin));
}
R_DrawAliasObjectLight(&cl.viewent, R_DrawAliasBumped);
if (gl_calcdepth.value)
{
//Calc Depth - Eradicator
glDepthRange (gldepthmin, gldepthmax);
}
}