From caa0deec105c085532650776ed3ea7f226a9971c Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Mon, 5 Dec 2016 16:05:33 -0500 Subject: [PATCH] - r_polyrenderer now notifies the gamesim on change of new pitch limits. --- src/r_swrenderer.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/r_swrenderer.cpp b/src/r_swrenderer.cpp index 0c4925454..a0f90f5cc 100644 --- a/src/r_swrenderer.cpp +++ b/src/r_swrenderer.cpp @@ -56,6 +56,12 @@ CUSTOM_CVAR(Bool, r_polyrenderer, 0, CVAR_ARCHIVE | CVAR_GLOBALCONFIG | CVAR_NOI { Printf("No GL BSP detected. You must restart the map before rendering will be correct\n"); } + + if (usergame) + { + // [SP] Update pitch limits to the netgame/gamesim. + players[consoleplayer].SendPitchLimits(); + } } namespace swrenderer