diff --git a/polymer/eduke32/build/src/build.c b/polymer/eduke32/build/src/build.c index 06995f4dd..b81192d13 100644 --- a/polymer/eduke32/build/src/build.c +++ b/polymer/eduke32/build/src/build.c @@ -6502,8 +6502,6 @@ end_join_sectors: if (wall[k].x==wall[numwalls].x && wall[k].y==wall[numwalls].y) { YAX_SKIPWALL(k); - if (wall[k].nextwall >= 0) - YAX_SKIPWALL(wall[k].nextwall); m = k; break; diff --git a/polymer/eduke32/source/astub.c b/polymer/eduke32/source/astub.c index 742d023b3..dcf49dfb2 100644 --- a/polymer/eduke32/source/astub.c +++ b/polymer/eduke32/source/astub.c @@ -13248,7 +13248,7 @@ static void FuncMenu(void) if (editval) { j=getnumber16("Percentage of original: ",100,1000,0); - if (j!=100) + if (j!=100 && j!=0) { int32_t w, currsector, start_wall, end_wall; double size = (j/100.f); @@ -13289,7 +13289,7 @@ static void FuncMenu(void) if (editval) { j=getnumber16("Shade divisor: ",1,128,1); - if (j!=1) + if (j > 1) { for (i=0; i 1) { for (i=0; i