$NetBSD: patch-af,v 1.5 2002/08/19 14:49:48 mycroft 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/100.0, VERSION/100.0);
       gameaction = ga_nothing;
       return;
     }
+    ++demo_p;
     
     skill = *demo_p++; 
     episode = *demo_p++;