mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
fix picking
git-svn-id: https://svn.eduke32.com/eduke32@2031 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
b486f3aa0d
commit
6f4fedb7fe
1 changed files with 2 additions and 2 deletions
|
@ -4427,7 +4427,7 @@ static void drawalls(int32_t bunch)
|
|||
{
|
||||
if (searchy <= uplc[searchx]
|
||||
#ifdef YAX_ENABLE
|
||||
&& umost[searchx] <= searchy && getceilzofslope(sectnum, globalposx, globalposz) <= globalposz
|
||||
&& umost[searchx] <= searchy && getceilzofslope(sectnum, globalposx, globalposy) <= globalposz
|
||||
&& (yax_getbunch(sectnum, YAX_CEILING) < 0 || showinvisibility || (sec->ceilingstat&(256+128)) || klabs(yax_globallev-YAX_MAXDRAWS)==YAX_MAXDRAWS)
|
||||
#endif
|
||||
) //ceiling
|
||||
|
@ -4437,7 +4437,7 @@ static void drawalls(int32_t bunch)
|
|||
}
|
||||
else if (dplc[searchx] <= searchy
|
||||
#ifdef YAX_ENABLE
|
||||
&& searchy < dmost[searchx] && getflorzofslope(sectnum, globalposx, globalposz) >= globalposz
|
||||
&& searchy < dmost[searchx] && getflorzofslope(sectnum, globalposx, globalposy) >= globalposz
|
||||
&& (yax_getbunch(sectnum, YAX_FLOOR) < 0 || showinvisibility || (sec->floorstat&(256+128)) || klabs(yax_globallev-YAX_MAXDRAWS)==YAX_MAXDRAWS)
|
||||
#endif
|
||||
) //floor
|
||||
|
|
Loading…
Reference in a new issue