mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-10 23:32:06 +00:00
gooddamnit =(
This commit is contained in:
parent
a3d97bbe13
commit
6dc03cee64
1 changed files with 4 additions and 1 deletions
|
@ -5,6 +5,9 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// $Log$
|
||||
// Revision 1.48 2002/08/27 06:57:24 niceass
|
||||
// gooddamnit =(
|
||||
//
|
||||
// Revision 1.47 2002/08/27 06:56:15 niceass
|
||||
// BETA testing idea for wallhack code
|
||||
//
|
||||
|
@ -2490,7 +2493,7 @@ qboolean CG_CheckPlayerVisible(vec3_t start, centity_t *cent) {
|
|||
for (i =0; i < 9; i++) {
|
||||
CG_Trace(&trace, start, NULL, NULL, ends[i], -1, CONTENTS_SOLID);
|
||||
|
||||
if ( trace.fraction == 1 || (trace.contents & ( CONTENTS_TRANSLUCENT | CONTENTS_DETAIL ) || (trace.surfaceFlags & ( SURF_NODRAW | SURF_GLASS ) ) )
|
||||
if ( trace.fraction == 1 || (trace.contents & ( CONTENTS_TRANSLUCENT | CONTENTS_DETAIL ) ) || (trace.surfaceFlags & ( SURF_NODRAW | SURF_GLASS ) ) )
|
||||
return qtrue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue