From: lordhavoc Date: Mon, 18 Sep 2000 15:50:22 +0000 (+0000) Subject: minor tweak to the forcing of color 255 to black X-Git-Tag: RELEASE_0_2_0_RC1~987 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f68d140191cddcb9b31954ed49273b4de0e1e4f7;p=xonotic%2Fdarkplaces.git minor tweak to the forcing of color 255 to black git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@33 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/host.c b/host.c index 08ebecf7..c4353357 100644 --- a/host.c +++ b/host.c @@ -906,6 +906,7 @@ void Host_Init (quakeparms_t *parms) host_basepal = (byte *)COM_LoadHunkFile ("gfx/palette.lmp", false); if (!host_basepal) Sys_Error ("Couldn't load gfx/palette.lmp"); + host_basepal[765] = host_basepal[766] = host_basepal[767] = 0; // LordHavoc: force the transparent color to black // host_colormap = (byte *)COM_LoadHunkFile ("gfx/colormap.lmp", false); // if (!host_colormap) // Sys_Error ("Couldn't load gfx/colormap.lmp"); @@ -934,8 +935,7 @@ void Host_Init (quakeparms_t *parms) host_initialized = true; -// Sys_Printf ("========Quake Initialized=========\n"); -// printf("========Quake Initialized=========\n"); + Sys_Printf ("========Quake Initialized=========\n"); }