- removed the unused palette parameter from the V_GetColor family of functions.

This commit is contained in:
Christoph Oelckers 2021-08-14 09:56:27 +02:00
commit 109069f718
24 changed files with 53 additions and 56 deletions

View file

@ -791,7 +791,7 @@ void FMapInfoParser::ParseAMColors(bool overlay)
FString color = sc.String;
FString colorName = V_GetColorStringByName(color);
if(!colorName.IsEmpty()) color = colorName;
int colorval = V_GetColorFromString(nullptr, color);
int colorval = V_GetColorFromString(color);
cset.c[i].FromRGB(RPART(colorval), GPART(colorval), BPART(colorval));
colorset = true;
break;