From 21dab7bd6652688930879af9e42c2ec54dd46859 Mon Sep 17 00:00:00 2001 From: Riku Salminen <38985578+Riku-S@users.noreply.github.com> Date: Fri, 28 May 2021 22:30:43 +0300 Subject: [PATCH 1/2] Add previous demo version to acceptable demo versions for demo comparison --- src/g_demo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/g_demo.c b/src/g_demo.c index ea71c9bd4..635b42b13 100644 --- a/src/g_demo.c +++ b/src/g_demo.c @@ -1668,6 +1668,7 @@ UINT8 G_CmpDemoTime(char *oldname, char *newname) switch(oldversion) // demoversion { case DEMOVERSION: // latest always supported + case 0x000d: // latest always supported case 0x000c: // all that changed between then and now was longer color name break; // too old, cannot support. From 22aaffa35d3bf2abb73a16b27f887162722ca0f4 Mon Sep 17 00:00:00 2001 From: Riku Salminen <38985578+Riku-S@users.noreply.github.com> Date: Fri, 28 May 2021 22:32:11 +0300 Subject: [PATCH 2/2] non-misleading comment --- src/g_demo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/g_demo.c b/src/g_demo.c index 635b42b13..16d29fb88 100644 --- a/src/g_demo.c +++ b/src/g_demo.c @@ -1668,7 +1668,7 @@ UINT8 G_CmpDemoTime(char *oldname, char *newname) switch(oldversion) // demoversion { case DEMOVERSION: // latest always supported - case 0x000d: // latest always supported + case 0x000d: // The previous demoversion also supported case 0x000c: // all that changed between then and now was longer color name break; // too old, cannot support.