mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-10 07:12:03 +00:00
Merge branch 'ogl-color-fix-fix' into 'master'
Fix bug in the OpenGL colormap bugfix See merge request KartKrew/Kart-Public!183
This commit is contained in:
commit
eea8c3776c
1 changed files with 2 additions and 0 deletions
|
@ -1494,6 +1494,7 @@ static void P_LoadRawSideDefs2(void *data)
|
|||
color.s.red = (HEX2INT(col[1]) << 4) + HEX2INT(col[2]);
|
||||
color.s.green = (HEX2INT(col[3]) << 4) + HEX2INT(col[4]);
|
||||
color.s.blue = (HEX2INT(col[5]) << 4) + HEX2INT(col[6]);
|
||||
color.s.alpha = 0;
|
||||
|
||||
#ifdef GLENCORE
|
||||
if (encoremap)
|
||||
|
@ -1535,6 +1536,7 @@ static void P_LoadRawSideDefs2(void *data)
|
|||
color.s.red = (HEX2INT(col[1]) << 4) + HEX2INT(col[2]);
|
||||
color.s.green = (HEX2INT(col[3]) << 4) + HEX2INT(col[4]);
|
||||
color.s.blue = (HEX2INT(col[5]) << 4) + HEX2INT(col[6]);
|
||||
color.s.alpha = 0;
|
||||
|
||||
#ifdef GLENCORE
|
||||
if (encoremap)
|
||||
|
|
Loading…
Reference in a new issue