g_demo.c: fix skip of EZT_ITEMDATA

blame f86f794d2
This commit is contained in:
James R 2023-03-18 03:41:23 -07:00
parent 4a7e72482d
commit 4974b04ddd

View file

@ -1344,7 +1344,7 @@ void G_GhostTicker(void)
if (xziptic & EZT_SPRITE)
g->mo->sprite = READUINT16(g->p);
if (xziptic & EZT_ITEMDATA)
g->p += 3; // itemtype, itemamount, bumpers
g->p += 1 + 1 + 4; // itemtype, itemamount, health
if (xziptic & EZT_STATDATA)
{
UINT8 skinid = READUINT8(g->p);