- SW: Fixed fortune cookie text display.

This commit is contained in:
Christoph Oelckers 2020-02-25 21:03:38 +01:00
parent 8c01061053
commit 864c3c5766
2 changed files with 3 additions and 7 deletions

View file

@ -141,8 +141,6 @@ int minigametext(int x,int y,const char *t,char s,short dabits)
if (*t == 32) {newx+=4; t++; continue; }
else ac = *t - '!' + 2930;
if ((ac < 2930 || ac > 3023) && *t != asc_Space) break;
if (*t > asc_Space && *t < 127)
{
newx += tilesiz[ac].x;
@ -162,8 +160,6 @@ int minigametext(int x,int y,const char *t,char s,short dabits)
if (*t == 32) {x+=4; t++; continue; }
else ac = *t - '!' + 2930;
if ((ac < 2930 || ac > 3023) && *t != asc_Space) break;
if (*t > asc_Space && *t < 127)
{
rotatesprite(x<<16,y<<16,65536L,0,ac,-128,17,dabits,0,0,xdim-1,ydim-1);