mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
Fix the definetint def token, broken in r6557.
git-svn-id: https://svn.eduke32.com/eduke32@6674 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
3ae7cb1de5
commit
dc7e727f0c
1 changed files with 2 additions and 5 deletions
|
@ -498,18 +498,15 @@ static int32_t defsparser(scriptfile *script)
|
||||||
break;
|
break;
|
||||||
case T_DEFINETINT:
|
case T_DEFINETINT:
|
||||||
{
|
{
|
||||||
int32_t pal, r,g,b,sr,sg,sb,f;
|
int32_t pal, r,g,b,f;
|
||||||
|
|
||||||
if (scriptfile_getsymbol(script,&pal)) break;
|
if (scriptfile_getsymbol(script,&pal)) break;
|
||||||
if (scriptfile_getnumber(script,&r)) break;
|
if (scriptfile_getnumber(script,&r)) break;
|
||||||
if (scriptfile_getnumber(script,&g)) break;
|
if (scriptfile_getnumber(script,&g)) break;
|
||||||
if (scriptfile_getnumber(script,&b)) break;
|
if (scriptfile_getnumber(script,&b)) break;
|
||||||
if (scriptfile_getnumber(script,&sr)) break;
|
|
||||||
if (scriptfile_getnumber(script,&sg)) break;
|
|
||||||
if (scriptfile_getnumber(script,&sb)) break;
|
|
||||||
if (scriptfile_getnumber(script,&f)) break; //effects
|
if (scriptfile_getnumber(script,&f)) break; //effects
|
||||||
#ifdef USE_OPENGL
|
#ifdef USE_OPENGL
|
||||||
hicsetpalettetint(pal,r,g,b,sr,sg,sb,f);
|
hicsetpalettetint(pal,r,g,b,0,0,0,f);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue