(#5016) - Calls to trap_CM_PointContents don't update their origins based on moving entities (water). Patch by Ensiform
This commit is contained in:
parent
960dca2cd4
commit
eec06674fa
5 changed files with 12 additions and 11 deletions
|
@ -2015,7 +2015,7 @@ static void CG_ScanForCrosshairEntity( void ) {
|
|||
}
|
||||
|
||||
// if the player is in fog, don't show it
|
||||
content = trap_CM_PointContents( trace.endpos, 0 );
|
||||
content = CG_PointContents( trace.endpos, 0 );
|
||||
if ( content & CONTENTS_FOG ) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue