From 9b76bc459babd373d8cf086ef9d0eb71014cdadb Mon Sep 17 00:00:00 2001 From: Roman Chistokhodov Date: Tue, 22 Oct 2024 09:31:05 +0300 Subject: [PATCH] Fix reading angles for DRC_CMD_CAMERA (#476) --- cl_dll/hud_spectator.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cl_dll/hud_spectator.cpp b/cl_dll/hud_spectator.cpp index 0e9d440f8..21d0235f1 100644 --- a/cl_dll/hud_spectator.cpp +++ b/cl_dll/hud_spectator.cpp @@ -727,9 +727,9 @@ void CHudSpectator::DirectorMessage( int iSize, void *pbuf ) v1[1] = READ_COORD(); v1[2] = READ_COORD(); // vJumpOrigin - v1[0] = READ_COORD(); // view angle - v1[1] = READ_COORD(); // vJumpAngles - v1[2] = READ_COORD(); + v2[0] = READ_COORD(); // view angle + v2[1] = READ_COORD(); // vJumpAngles + v2[2] = READ_COORD(); f1 = READ_BYTE(); // fov i1 = READ_WORD(); // target