5ea5107654
Address PR 24024 by marking it as not-for-lp64platforms.
21 lines
720 B
Text
21 lines
720 B
Text
$NetBSD: patch-af,v 1.7 2010/02/22 21:58:47 wiz 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++;
|