polymost.c: fix C build. DONT_BUILD.

git-svn-id: https://svn.eduke32.com/eduke32@4930 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2015-01-18 20:21:17 +00:00
parent b8783d0448
commit a05cc6ec20

View file

@ -1943,7 +1943,7 @@ void domost(float x0, float y0, float x1, float y1)
vsp[vcnt].fy[0] = vsp[i].fy[1]; vsp[vcnt].fy[0] = vsp[i].fy[1];
vsp[vcnt].tag = spt[z]; vsp[vcnt].tag = spt[z];
skip: skip: ;
int32_t ni = vsp[i].n; if (!ni) continue; //this 'if' fixes many bugs! int32_t ni = vsp[i].n; if (!ni) continue; //this 'if' fixes many bugs!
float dx0 = vsp[i].x; if (x0 > dx0) continue; float dx0 = vsp[i].x; if (x0 > dx0) continue;
float dx1 = vsp[ni].x; if (x1 < dx1) continue; float dx1 = vsp[ni].x; if (x1 < dx1) continue;