Skip to content

Commit

Permalink
Fix reading angles for DRC_CMD_CAMERA (#476)
Browse files Browse the repository at this point in the history
  • Loading branch information
FreeSlave authored Oct 22, 2024
1 parent 0ccf5b8 commit 9b76bc4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cl_dll/hud_spectator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9b76bc4

Please sign in to comment.