diff --git a/src/p_user.c b/src/p_user.c index d07b71390..031a607c1 100644 --- a/src/p_user.c +++ b/src/p_user.c @@ -7503,7 +7503,11 @@ boolean P_MoveChaseCamera(player_t *player, camera_t *thiscam, boolean resetcall } pitch = thiscam->pitch + (angle_t)FixedMul(pitch - thiscam->pitch, camspeed/4); - if (rendermode == render_opengl && !cv_grshearing.value) + if (rendermode == render_opengl +#ifdef GL_SHADERS/* just so we can't possibly forget about it */ + && !cv_grshearing.value +#endif + ) distxy = FixedMul(dist, FINECOSINE((pitch>>ANGLETOFINESHIFT) & FINEMASK)); else distxy = dist;