Skip to content

Commit

Permalink
Send DF_ANGLES via WriteAngle instead of WriteShort.
Browse files Browse the repository at this point in the history
  • Loading branch information
dsvensson committed Jan 20, 2025
1 parent c0baffd commit a8a83d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fteqtv/forward.c
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ void Prox_SendInitialPlayers(sv_t *qtv, oproxy_t *prox, netmsg_t *msg)

for (j = 0 ; j < 3 ; j++)
if (flags & (DF_ANGLES << j))
WriteShort (msg, qtv->map.players[i].current.angles[j]);
WriteAngle (msg, qtv->map.players[i].current.angles[j], qtv->pext1);

if (flags & DF_MODEL) // generally, that why we wrote this function, so YES send this
WriteByte (msg, qtv->map.players[i].current.modelindex);
Expand Down

0 comments on commit a8a83d7

Please sign in to comment.