mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
Fix error building the transpal utility
git-svn-id: https://svn.eduke32.com/eduke32@7272 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
8f7e842beb
commit
d35058a8e5
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ int main(int argc, char **argv)
|
|||
}
|
||||
Bread(fil,origpalette,768);
|
||||
Bread(fil,&orignumshades,2); orignumshades = B_LITTLE16(orignumshades);
|
||||
orignumshades = min(max(orignumshades,1),256);
|
||||
orignumshades = min(max<int>(orignumshades,1),256);
|
||||
Bread(fil,origpalookup,(int)orignumshades<<8);
|
||||
Bclose(fil);
|
||||
|
||||
|
|
Loading…
Reference in a new issue