mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix replay viewer discarding aim keys
This commit is contained in:
parent
63dd29564e
commit
8473194e8a
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…
Add table
Reference in a new issue