From e7c258fa4fa13a382584118b3fcbddc467e44b8b Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 7 Nov 2005 09:52:57 +0000 Subject: [PATCH] fix a bug in loading colormap.lmp to determine number of fullbrights, forgot to pass &filesize to FS_LoadFile git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5799 d7cf8633-e32d-0410-b094-e92efae38249 --- palette.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/palette.c b/palette.c index 7f569955..f18d7e01 100644 --- a/palette.c +++ b/palette.c @@ -32,7 +32,7 @@ void Palette_SetupSpecialPalettes(void) unsigned char *colormap; fs_offset_t filesize; - colormap = FS_LoadFile("gfx/colormap.lmp", tempmempool, true, NULL); + colormap = FS_LoadFile("gfx/colormap.lmp", tempmempool, true, &filesize); if (colormap && filesize >= 16385) fullbright_start = 256 - colormap[16384]; else -- 2.39.2