diff --git a/src/g_demo.cpp b/src/g_demo.cpp index 3517795c6..f4f17dc38 100644 --- a/src/g_demo.cpp +++ b/src/g_demo.cpp @@ -3703,7 +3703,7 @@ void G_AddGhost(savebuffer_t *buffer, const char *defdemoname) p += 4; UINT32 num_classes; - if (demo.version <= 0x000D) + if (ghostversion <= 0x000D) { num_classes = PROLDDEMO; } @@ -3943,7 +3943,7 @@ staffbrief_t *G_GetStaffGhostBrief(UINT8 *buffer) temp.lap = READUINT32(p); UINT32 num_classes; - if (demo.version <= 0x000D) + if (ghostversion <= 0x000D) { num_classes = PROLDDEMO; }