mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-23 15:40:39 +00:00
fix a.m32 script, inserted light SEs now have nonzero repeat
git-svn-id: https://svn.eduke32.com/eduke32@1878 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
203cf0b7b1
commit
a0ca3ed041
3 changed files with 6 additions and 3 deletions
|
@ -142,6 +142,9 @@ defstate insertlights
|
|||
|
||||
set .owner light[i].tilenum
|
||||
|
||||
set .xrepeat 48
|
||||
set .yrepeat 48
|
||||
|
||||
// now those that are calculated
|
||||
ifge light[i].priority 4 or .cstat 512
|
||||
ifge light[i].priority 2 or .cstat 2
|
||||
|
|
|
@ -7542,7 +7542,7 @@ static void Keys2d(void)
|
|||
bestzdiff = j;
|
||||
}
|
||||
|
||||
if (bestzdiff==INT_MAX)
|
||||
if (bestzdiff==INT32_MAX)
|
||||
{
|
||||
if (zsign == 1)
|
||||
bottomp=1, bestzdiff = (hiz+(1024<<4) - pos.z);
|
||||
|
@ -7571,7 +7571,7 @@ static void Keys2d(void)
|
|||
}
|
||||
else
|
||||
{
|
||||
int32_t damin=INT_MAX, damax=INT_MIN;
|
||||
int32_t damin=INT32_MAX, damax=INT32_MIN;
|
||||
|
||||
for (i=0; i<highlightsectorcnt; i++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue