diff options
Diffstat (limited to 'src/renderer/tr_world.c')
-rw-r--r-- | src/renderer/tr_world.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderer/tr_world.c b/src/renderer/tr_world.c index 8f91285e..85a0043f 100644 --- a/src/renderer/tr_world.c +++ b/src/renderer/tr_world.c @@ -548,7 +548,7 @@ qboolean R_inPVS( const vec3_t p1, const vec3_t p2 ) { byte *vis; leaf = R_PointInLeaf( p1 ); - vis = CM_ClusterPVS( leaf->cluster ); + vis = ri.CM_ClusterPVS( leaf->cluster ); // why not R_ClusterPVS ?? leaf = R_PointInLeaf( p2 ); if ( !(vis[leaf->cluster>>3] & (1<<(leaf->cluster&7))) ) { |