mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 08:51:08 +00:00
- SW: Fixed fortune cookie text display.
This commit is contained in:
parent
8c01061053
commit
864c3c5766
2 changed files with 3 additions and 7 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue