1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 14:37:16 +00:00

don't display 'bad end'

This commit is contained in:
Zeno Rogue 2017-11-03 19:34:51 +01:00
parent ae12c9f7a6
commit 1e4df087c2

View File

@ -873,9 +873,9 @@ void finishshape() {
for(int i=last->s; i<last->e-1; i++)
area += hpc[i][0] * hpc[i+1][1] - hpc[i+1][0] * hpc[i][1];
if(area >= 0) last->flags |= POLY_INVERSE;
if(isnan(area)) ;
/* if(isnan(area)) ;
else if(intval(hpc[last->s], hpc[last->e-1]) > 1e-6)
printf("bad end\n");
printf("bad end\n"); */
}
void bshape(hpcshape& sh, int p) {