mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-02 10:11:04 +00:00
- 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:
parent
d9d721bff6
commit
14b21bab7a
4 changed files with 9 additions and 11 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue