When searching a nextwall for a white wall after dragging a point,

exclude grayed out walls.

git-svn-id: https://svn.eduke32.com/eduke32@2039 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2011-09-22 16:52:32 +00:00
parent 4dc5d792ae
commit 98ac0c2edc

View file

@ -4232,6 +4232,8 @@ end_autoredwall:
{ {
for (i=0; i<numwalls; i++) //make new red lines? for (i=0; i<numwalls; i++) //make new red lines?
{ {
YAX_SKIPWALL(i);
if ((wall[i].x == dax && wall[i].y == day) if ((wall[i].x == dax && wall[i].y == day)
|| (POINT2(i).x == dax && POINT2(i).y == day)) || (POINT2(i).x == dax && POINT2(i).y == day))
{ {