mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Re-hooks pr_lighting.
git-svn-id: https://svn.eduke32.com/eduke32@1417 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
f30fdef695
commit
9cd0c6e6a0
1 changed files with 3 additions and 0 deletions
|
@ -1117,6 +1117,9 @@ int16_t polymer_addlight(_prlight* light)
|
|||
{
|
||||
int16_t lighti;
|
||||
|
||||
if (!pr_lighting)
|
||||
return (-1);
|
||||
|
||||
if ((light->sector == -1) || (light->sector >= numsectors))
|
||||
return (-1);
|
||||
|
||||
|
|
Loading…
Reference in a new issue