mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2025-02-02 06:33:30 +00:00
disabled wallhack protection #2!!!
This commit is contained in:
parent
94214bcd8b
commit
3a3e0d7491
1 changed files with 8 additions and 3 deletions
|
@ -5,6 +5,9 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// $Log$
|
// $Log$
|
||||||
|
// Revision 1.66 2002/08/30 06:23:57 niceass
|
||||||
|
// disabled wallhack protection #2!!!
|
||||||
|
//
|
||||||
// Revision 1.65 2002/08/29 14:24:26 niceass
|
// Revision 1.65 2002/08/29 14:24:26 niceass
|
||||||
// new wallhack thing
|
// new wallhack thing
|
||||||
//
|
//
|
||||||
|
@ -2496,7 +2499,7 @@ static void CG_DrawIRBlend()
|
||||||
void CG_DrawBigPolygon(void) {
|
void CG_DrawBigPolygon(void) {
|
||||||
vec3_t end, forward, right, up;
|
vec3_t end, forward, right, up;
|
||||||
polyVert_t Corners[4];
|
polyVert_t Corners[4];
|
||||||
float Dist = 12288;
|
float Dist = 8192;//12288;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
AngleVectors(cg.refdefViewAngles, forward, right, up);
|
AngleVectors(cg.refdefViewAngles, forward, right, up);
|
||||||
|
@ -2529,6 +2532,8 @@ void CG_DrawBigPolygon(void) {
|
||||||
Corners[i].modulate[3] = 255;
|
Corners[i].modulate[3] = 255;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// CS_FOGHULL
|
||||||
|
|
||||||
trap_R_AddPolyToScene(cgs.media.blackHackShader, 4, Corners);
|
trap_R_AddPolyToScene(cgs.media.blackHackShader, 4, Corners);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2574,8 +2579,8 @@ void CG_DrawActive(stereoFrame_t stereoView)
|
||||||
CG_TileClear();
|
CG_TileClear();
|
||||||
|
|
||||||
// NiceAss: Wallhack protection
|
// NiceAss: Wallhack protection
|
||||||
if (cg.snap->ps.pm_type == PM_NORMAL)
|
//if (cg.snap->ps.pm_type == PM_NORMAL)
|
||||||
CG_DrawBigPolygon();
|
// CG_DrawBigPolygon();
|
||||||
|
|
||||||
// offset vieworg appropriately if we're doing stereo separation
|
// offset vieworg appropriately if we're doing stereo separation
|
||||||
VectorCopy(cg.refdef.vieworg, baseOrg);
|
VectorCopy(cg.refdef.vieworg, baseOrg);
|
||||||
|
|
Loading…
Reference in a new issue