- merged playing_blood and bloodhack variables because they did the same thing.

The only difference was that bloodhack came from NBlood and playing_blood was added for unhandled differences between the backends of EDuke32 and NBlood.
This commit is contained in:
Christoph Oelckers 2019-10-11 00:34:27 +02:00
parent d9d721bff6
commit 14b21bab7a
4 changed files with 9 additions and 11 deletions

View file

@ -15,6 +15,7 @@
#include "palette.h"
#include "a.h"
#include "xxhash.h"
#include "common.h"
#include "../../glbackend/glbackend.h"
#include "vfs.h"
@ -387,7 +388,7 @@ void palettePostLoadTables(void)
for (size_t i = 0; i<16; i++)
{
palette_t *edcol = (palette_t *) &vgapal16[4*i];
editorcolors[i] = getclosestcol_lim(edcol->b, edcol->g, edcol->r, bloodhack ? 254 : 239);
editorcolors[i] = getclosestcol_lim(edcol->b, edcol->g, edcol->r, playing_blood ? 254 : 239);
}
// Bmemset(PaletteIndexFullbrights, 0, sizeof(PaletteIndexFullbrights));