From 6ad47d26b6bf8e3be6f222b26efa5cf99e071ae5 Mon Sep 17 00:00:00 2001 From: danij Date: Mon, 28 Aug 2006 12:27:10 +0000 Subject: [PATCH] Fixed crash in Doom64tc when activating the automap. Does not have the patches currently used for the marked points. FIXME: use a different set of patches. --- doomsday/plugins/common/src/am_map.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doomsday/plugins/common/src/am_map.c b/doomsday/plugins/common/src/am_map.c index 31392a4594..f5edef02ad 100644 --- a/doomsday/plugins/common/src/am_map.c +++ b/doomsday/plugins/common/src/am_map.c @@ -940,12 +940,16 @@ void AM_loadPics(void) int i; char namebuf[9]; +#if !__DOOM64TC__ + // FIXME > for(i = 0; i < 10; i++) { MARKERPATCHES; // Check the macros eg: "sprintf(namebuf, "AMMNUM%d", i)" for jDoom markpnums[i] = W_GetNumForName(namebuf); } + // < FIXME +#endif if (maplumpnum != 0){ maplumpnum = W_GetNumForName("AUTOPAGE"); @@ -2000,6 +2004,8 @@ void AM_drawMarks(void) { int i, fx, fy, w, h; +#if !__DOOM64TC__ + // FIXME > for(i = 0; i < AM_NUMMARKPOINTS; i++) { if(markpoints[i].pos[VX] != -1) @@ -2013,6 +2019,8 @@ void AM_drawMarks(void) GL_DrawPatch_CS(fx, fy, markpnums[i]); } } + // < FIXME +#endif } /*