diff --git a/polymer/eduke32/samples/a.m32 b/polymer/eduke32/samples/a.m32 index 0393629fa..dbf6bbd6c 100644 --- a/polymer/eduke32/samples/a.m32 +++ b/polymer/eduke32/samples/a.m32 @@ -142,6 +142,9 @@ defstate insertlights set .owner light[i].tilenum + set .xrepeat 48 + set .yrepeat 48 + // now those that are calculated ifge light[i].priority 4 or .cstat 512 ifge light[i].priority 2 or .cstat 2 diff --git a/polymer/eduke32/samples/tiles.cfg b/polymer/eduke32/samples/tiles.cfg index a69fbeda7..eb5526749 100644 --- a/polymer/eduke32/samples/tiles.cfg +++ b/polymer/eduke32/samples/tiles.cfg @@ -211,5 +211,5 @@ alphabet // silver numbers alphabet { - maprangea "0" "9" DIGITALNUM + maprangea "0" "9" DIGITALNUM } diff --git a/polymer/eduke32/source/astub.c b/polymer/eduke32/source/astub.c index 0b8989a6c..c67e317df 100644 --- a/polymer/eduke32/source/astub.c +++ b/polymer/eduke32/source/astub.c @@ -7542,7 +7542,7 @@ static void Keys2d(void) bestzdiff = j; } - if (bestzdiff==INT_MAX) + if (bestzdiff==INT32_MAX) { if (zsign == 1) bottomp=1, bestzdiff = (hiz+(1024<<4) - pos.z); @@ -7571,7 +7571,7 @@ static void Keys2d(void) } else { - int32_t damin=INT_MAX, damax=INT_MIN; + int32_t damin=INT32_MAX, damax=INT32_MIN; for (i=0; i