mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
- amend last commit: rename the variable to something slightly more meaningful
This commit is contained in:
parent
28f7728980
commit
54a630c3cf
1 changed files with 2 additions and 2 deletions
|
@ -360,8 +360,8 @@ void FPNGTexture::ReadAlphaRemap(FileReader *lump, uint8_t *alpharemap)
|
|||
uint8_t r = lump->ReadUInt8();
|
||||
uint8_t g = lump->ReadUInt8();
|
||||
uint8_t b = lump->ReadUInt8();
|
||||
int ti = PaletteMap ? PaletteMap[i] : i;
|
||||
alpharemap[i] = ti == 0 ? 0 : Luminance(r, g, b);
|
||||
int palmap = PaletteMap ? PaletteMap[i] : i;
|
||||
alpharemap[i] = palmap == 0 ? 0 : Luminance(r, g, b);
|
||||
}
|
||||
lump->Seek(p, FileReader::SeekSet);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue