$NetBSD: patch-af,v 1.4 2000/02/03 16:01:15 abs Exp $ --- linuxdoom-1.10/g_game.c.orig Mon Dec 22 20:35:29 1997 +++ linuxdoom-1.10/g_game.c Thu Feb 3 01:33:47 2000 @@ -1586,12 +1586,14 @@ gameaction = ga_nothing; demobuffer = demo_p = W_CacheLumpName (defdemoname, PU_STATIC); - if ( *demo_p++ != VERSION) + if ( *demo_p/100 != VERSION/100 || *demo_p%100 > VERSION%100 ) { - fprintf( stderr, "Demo is from a different game version!\n"); + fprintf( stderr, "Demo is from a different game version (%.2f / %.2f)!\n", + demo_p[-1]/(float)100, VERSION/(float)100); gameaction = ga_nothing; return; } + ++demo_p; skill = *demo_p++; episode = *demo_p++;