(svn r18872) -Codechange: introduce PaletteID and use it
This commit is contained in:
@@ -846,7 +846,7 @@ void DrawCompanyManagerFace(CompanyManagerFace cmf, int colour, int x, int y)
|
||||
bool has_moustache = !HasBit(ge, GENDER_FEMALE) && GetCompanyManagerFaceBits(cmf, CMFV_HAS_MOUSTACHE, ge) != 0;
|
||||
bool has_tie_earring = !HasBit(ge, GENDER_FEMALE) || GetCompanyManagerFaceBits(cmf, CMFV_HAS_TIE_EARRING, ge) != 0;
|
||||
bool has_glasses = GetCompanyManagerFaceBits(cmf, CMFV_HAS_GLASSES, ge) != 0;
|
||||
SpriteID pal;
|
||||
PaletteID pal;
|
||||
|
||||
/* Modify eye colour palette only if 2 or more valid values exist */
|
||||
if (_cmf_info[CMFV_EYE_COLOUR].valid_values[ge] < 2) {
|
||||
|
Reference in New Issue
Block a user