Fix issue with editor not allowing wall and floor aligned sprites to be resized in 2d mode without textured view mode enabled

git-svn-id: https://svn.eduke32.com/eduke32@7289 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2018-12-15 01:40:26 +00:00
parent 89df4950d4
commit 650672717d

View file

@ -7575,8 +7575,6 @@ static void Keys2d(void)
} }
} }
if (graphicsmode)
{
for (k=0; k<2; k++) // panning/repeat for (k=0; k<2; k++) // panning/repeat
{ {
if (k==0) if (k==0)
@ -7600,7 +7598,7 @@ static void Keys2d(void)
TrackerCast(sprite[cursprite].xrepeat), TrackerCast(sprite[cursprite].xrepeat),
TrackerCast(sprite[cursprite].yrepeat)); TrackerCast(sprite[cursprite].yrepeat));
} }
else else if (graphicsmode)
{ {
i = tcursectornum; i = tcursectornum;
@ -7625,7 +7623,6 @@ static void Keys2d(void)
else else
repeatcnt[k] = 0; repeatcnt[k] = 0;
} }
}
if (PRESSED_KEYSC(R)) // R (relative alignment, rotation) if (PRESSED_KEYSC(R)) // R (relative alignment, rotation)
{ {