From 2a3acc72867b110f412077b2a3eb6a2fad9b6691 Mon Sep 17 00:00:00 2001 From: alufolie91 Date: Sat, 30 Sep 2023 22:16:45 +0200 Subject: [PATCH] Fix G_GhostTicker crashing trying to read netvars as ghost data --- src/g_game.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/g_game.c b/src/g_game.c index a10f74f43..3345b55d2 100644 --- a/src/g_game.c +++ b/src/g_game.c @@ -8286,7 +8286,7 @@ void G_AddGhost(char *defdemoname) count = READUINT16(p); while (count--) { - p += 2; + SKIPSTRING(p); SKIPSTRING(p); p++; }