2
0
mirror of https://github.com/FWGS/hlsdk-xash3d synced 2024-11-21 17:36:18 +01:00

Fix reading angles for DRC_CMD_CAMERA (#476)

This commit is contained in:
Roman Chistokhodov 2024-10-22 09:31:05 +03:00 committed by GitHub
parent 0ccf5b8787
commit 9b76bc459b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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