diff --git a/polymer/eduke32/source/game.c b/polymer/eduke32/source/game.c index 7ed1f5952..7a910297f 100644 --- a/polymer/eduke32/source/game.c +++ b/polymer/eduke32/source/game.c @@ -352,7 +352,7 @@ int32_t G_PrintGameText(int32_t f, int32_t tile, int32_t x, int32_t y, const t++; if (isdigit(*(t+1))) t++; -// t += 1 + isdigit(*(t+2)); // This code is wrong, see C99 6.5.16 #3 +// t += 1 + isdigit(*(t+2)); // This code is wrong, see C99 6.5 #2 continue; } @@ -988,9 +988,8 @@ void G_DrawTXDigiNumZ(int32_t starttile, int32_t x,int32_t y,int32_t n,int32_t s { int32_t i, j = 0, k, p, c; char b[12]; - int32_t shift = (cs&ROTATESPRITE_MAX)?0:16; + const int32_t shift = 16; - //ltoa(n,b,10); i = Bsprintf(b,"%d",n); for (k=i-1; k>=0; k--) diff --git a/polymer/eduke32/source/gameexec.c b/polymer/eduke32/source/gameexec.c index a9eef27b7..b1c75673e 100644 --- a/polymer/eduke32/source/gameexec.c +++ b/polymer/eduke32/source/gameexec.c @@ -2672,8 +2672,6 @@ nullquote: continue; } - orientation &= (ROTATESPRITE_MAX-1); - G_DrawTXDigiNumZ(tilenum,x,y,q,shade,pal,orientation,x1,y1,x2,y2,z); continue; }