mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
Fix a typo in loadpalette that broke reading of the lognumalphatabs byte.
git-svn-id: https://svn.eduke32.com/eduke32@5370 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
5c09daf294
commit
9991201f04
1 changed files with 1 additions and 1 deletions
|
@ -8396,7 +8396,7 @@ static void loadpalette(void)
|
|||
|
||||
// Read log2 of count of alpha blending tables.
|
||||
uint8_t lognumalphatabs;
|
||||
if (kread_and_test(fil, &lognumalphatabs, 1))
|
||||
if (!kread_and_test(fil, &lognumalphatabs, 1))
|
||||
{
|
||||
if (!(lognumalphatabs >= 1 && lognumalphatabs <= 7))
|
||||
initprintf("invalid lognumalphatabs value, must be in [1 .. 7]\n");
|
||||
|
|
Loading…
Reference in a new issue