fixes wall drawing (bug introduced in r1540)

git-svn-id: https://svn.eduke32.com/eduke32@1542 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2009-11-15 20:01:33 +00:00
parent 7199818841
commit b468afc867

View file

@ -1379,7 +1379,7 @@ void overheadeditor(void)
numwalls = newnumwalls;
if (numwalls < 0) numwalls = tempint;
if (keystatus[buildkeys[BK_MOVEUP]] || keystatus[buildkeys[BK_MOVEDOWN]] || mousx || mousy || bstatus || (totalclock & 8) == 0)
if (keystatus[buildkeys[BK_MOVEUP]] || keystatus[buildkeys[BK_MOVEDOWN]] || mousx || mousy || bstatus || (totalclock & 8) == 0 || newnumwalls>=0)
{
clear2dscreen();