diff --git a/src/g_demo.cpp b/src/g_demo.cpp index fbeb4d98d..444138b21 100644 --- a/src/g_demo.cpp +++ b/src/g_demo.cpp @@ -3591,7 +3591,7 @@ void G_AddGhost(savebuffer_t *buffer, const char *defdemoname) // Skip unlockables { UINT32 unlockables = READUINT32(p); - p += std::min(unlockables, MAXUNLOCKABLES); + p += unlockables; } p++; // mapmusrng @@ -3814,7 +3814,7 @@ staffbrief_t *G_GetStaffGhostBrief(UINT8 *buffer) // Skip unlockables { UINT32 unlockables = READUINT32(p); - p += std::min(unlockables, MAXUNLOCKABLES); + p += unlockables; } p++; // mapmusrng