pkgsrc/games/xdoom/patches/patch-ab
wiz 5ea5107654 Re-add xdoom, requested by drochner.
Address PR 24024 by marking it as not-for-lp64platforms.
2010-02-22 21:58:47 +00:00

35 lines
880 B
Text

$NetBSD: patch-ab,v 1.5 2010/02/22 21:58:47 wiz Exp $
--- linuxdoom-1.10/am_map.c.orig Mon Dec 22 19:58:32 1997
+++ linuxdoom-1.10/am_map.c Thu Feb 3 01:33:44 2000
@@ -783,7 +783,7 @@
//
void AM_updateLightLev(void)
{
- static nexttic = 0;
+ static int nexttic = 0;
//static int litelevels[] = { 0, 3, 5, 6, 6, 7, 7, 7 };
static int litelevels[] = { 0, 4, 7, 10, 12, 14, 15, 15 };
static int litelevelscnt = 0;
@@ -856,9 +856,9 @@
TOP =8
};
- register outcode1 = 0;
- register outcode2 = 0;
- register outside;
+ register int outcode1 = 0;
+ register int outcode2 = 0;
+ register int outside;
fpoint_t tmp;
int dx;
@@ -989,7 +989,7 @@
register int ay;
register int d;
- static fuck = 0;
+ static int fuck = 0;
// For debugging only
if ( fl->a.x < 0 || fl->a.x >= f_w