mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-29 13:51:24 +00:00
Fix replay viewer discarding aim keys
This commit is contained in:
parent
d05a3a59c4
commit
e13e6c5c9b
1 changed files with 1 additions and 1 deletions
|
@ -4690,7 +4690,7 @@ void G_ReadDemoTiccmd(ticcmd_t *cmd, INT32 playernum)
|
|||
if (ziptic & ZT_ANGLE)
|
||||
oldcmd[playernum].angleturn = READINT16(demo_p);
|
||||
if (ziptic & ZT_BUTTONS)
|
||||
oldcmd[playernum].buttons = (oldcmd[playernum].buttons & (BT_FORWARD|BT_BACKWARD)) | (READUINT16(demo_p) & ~(BT_FORWARD|BT_BACKWARD));
|
||||
oldcmd[playernum].buttons = READUINT16(demo_p);
|
||||
if (ziptic & ZT_AIMING)
|
||||
oldcmd[playernum].aiming = READINT16(demo_p);
|
||||
if (ziptic & ZT_DRIFT)
|
||||
|
|
Loading…
Reference in a new issue