diff --git a/polymer/eduke32/build/src/mdsprite.c b/polymer/eduke32/build/src/mdsprite.c index c95f5fb78..34a7f85d5 100644 --- a/polymer/eduke32/build/src/mdsprite.c +++ b/polymer/eduke32/build/src/mdsprite.c @@ -2834,7 +2834,7 @@ static voxmodel_t *vox2poly() memset(shcntmal,0,i); shcnt = &shcntmal[-shcntp-1]; gmaxx = gmaxy = garea = 0; - if (pow2m1[32] != -1) { for (i=0; i<32; i++) pow2m1[i] = (1<qfacind[i] = -1; i = ((max(ysiz,zsiz)+1)<<2); diff --git a/polymer/eduke32/source/game.c b/polymer/eduke32/source/game.c index 8f192c418..98e317212 100644 --- a/polymer/eduke32/source/game.c +++ b/polymer/eduke32/source/game.c @@ -177,7 +177,7 @@ static void G_DrawCameraText(int16_t i); GAME_STATIC GAME_INLINE int32_t G_MoveLoop(void); static void G_DoOrderScreen(void); -#define quotepulseshade (sintable[(totalclock<<5)&2047]>>11) +#define quotepulseshade (sintable[((uint32_t)totalclock<<5)&2047]>>11) int32_t althud_numbertile = 2930; int32_t althud_numberpal = 0;