diff options
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/sv_world.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/sv_world.c b/src/server/sv_world.c index ce4230d7..921d90bc 100644 --- a/src/server/sv_world.c +++ b/src/server/sv_world.c @@ -673,12 +673,12 @@ int SV_PointContents( const vec3_t p, int passEntityNum ) { hit = SV_GentityNum( touch[i] ); // might intersect, so do an exact clip clipHandle = SV_ClipHandleForEntity( hit ); - angles = hit->s.angles; + angles = hit->r.currentAngles; if ( !hit->r.bmodel ) { angles = vec3_origin; // boxes don't rotate } - c2 = CM_TransformedPointContents (p, clipHandle, hit->s.origin, angles); + c2 = CM_TransformedPointContents (p, clipHandle, hit->r.currentOrigin, angles); contents |= c2; } |