mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-27 01:10:51 +00:00
another one...
git-svn-id: https://svn.eduke32.com/eduke32@1520 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
8ac8615034
commit
540962f35c
1 changed files with 12 additions and 4 deletions
|
@ -2640,12 +2640,20 @@ SKIP:
|
||||||
{
|
{
|
||||||
newnumwalls = -1;
|
newnumwalls = -1;
|
||||||
sectorhighlightstat = -1;
|
sectorhighlightstat = -1;
|
||||||
updatesector(mousxplc,mousyplc,&cursectorhighlight);
|
|
||||||
|
// updatesector(mousxplc,mousyplc,&cursectorhighlight);
|
||||||
|
cursectorhighlight = -1;
|
||||||
|
for (i=0; i<highlightsectorcnt; i++)
|
||||||
|
if (inside(mousxplc, mousyplc, highlightsector[i]))
|
||||||
|
{
|
||||||
|
cursectorhighlight = highlightsector[i];
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
if ((cursectorhighlight >= 0) && (cursectorhighlight < numsectors))
|
if ((cursectorhighlight >= 0) && (cursectorhighlight < numsectors))
|
||||||
{
|
{
|
||||||
for (i=0; i<highlightsectorcnt; i++)
|
// for (i=0; i<highlightsectorcnt; i++)
|
||||||
if (cursectorhighlight == highlightsector[i])
|
// if (cursectorhighlight == highlightsector[i])
|
||||||
{
|
{
|
||||||
//You clicked inside one of the flashing sectors!
|
//You clicked inside one of the flashing sectors!
|
||||||
sectorhighlightstat = 1;
|
sectorhighlightstat = 1;
|
||||||
|
@ -2659,7 +2667,7 @@ SKIP:
|
||||||
}
|
}
|
||||||
sectorhighlightx = dax;
|
sectorhighlightx = dax;
|
||||||
sectorhighlighty = day;
|
sectorhighlighty = day;
|
||||||
break;
|
// break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue