From f68d140191cddcb9b31954ed49273b4de0e1e4f7 Mon Sep 17 00:00:00 2001 From: lordhavoc Date: Mon, 18 Sep 2000 15:50:22 +0000 Subject: [PATCH] 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 --- host.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"); } -- 2.39.2