diff --git a/source/graphics/GameView.cpp b/source/graphics/GameView.cpp index 332b09805d..ec0f125a66 100644 --- a/source/graphics/GameView.cpp +++ b/source/graphics/GameView.cpp @@ -739,7 +739,7 @@ void CGameView::Update(float DeltaTime) } */ - m->RotateY.Wrap(-M_PI, M_PI); + m->RotateY.Wrap(-(float)M_PI, (float)M_PI); // Update the camera matrix SetupCameraMatrix(m, &m->ViewCamera.m_Orientation);