]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
minor tweak to the forcing of color 255 to black
authorlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 18 Sep 2000 15:50:22 +0000 (15:50 +0000)
committerlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 18 Sep 2000 15:50:22 +0000 (15:50 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@33 d7cf8633-e32d-0410-b094-e92efae38249

host.c

diff --git a/host.c b/host.c
index 08ebecf7d76106bd65a8a67419de410653ca555f..c43533572a204ec70759ba00c9179bf98693cda4 100644 (file)
--- 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");    
 }