mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-22 17:21:24 +00:00
Skip sizeof(UINT16) bytes in the stream instead of sizeof(UINT8)
This commit is contained in:
parent
1576f02d6c
commit
90ac57562f
1 changed files with 2 additions and 2 deletions
|
@ -571,7 +571,7 @@ void G_ConsGhostTic(void)
|
|||
if (ziptic & GZT_FRAME)
|
||||
demo_p++;
|
||||
if (ziptic & GZT_SPR2)
|
||||
demo_p++;
|
||||
demo_p += (demoversion < 0x0011) ? sizeof(UINT8) : sizeof(UINT16);
|
||||
|
||||
if (ziptic & GZT_EXTRA)
|
||||
{ // But wait, there's more!
|
||||
|
@ -640,7 +640,7 @@ void G_ConsGhostTic(void)
|
|||
// momx, momy and momz
|
||||
demo_p += (demoversion < 0x000e) ? sizeof(INT16) * 3 : sizeof(fixed_t) * 3;
|
||||
if (followtic & FZT_SKIN)
|
||||
demo_p++;
|
||||
demo_p += (demoversion < 0x0011) ? sizeof(UINT8) : sizeof(UINT16);
|
||||
demo_p += sizeof(UINT16);
|
||||
demo_p++;
|
||||
demo_p += (demoversion==0x000c) ? 1 : sizeof(UINT16);
|
||||
|
|
Loading…
Reference in a new issue