mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-29 13:00:43 +00:00
- fixed font alignment in Blood
This commit is contained in:
parent
ca740ad709
commit
3ba5ca46c9
2 changed files with 4 additions and 2 deletions
|
@ -212,7 +212,7 @@ void CViewMap::sub_25C74(void)
|
|||
nViewY = gViewY1S-16;
|
||||
else
|
||||
nViewY = gViewY0S+1;
|
||||
viewDrawText(3, pBuffer, gViewX1S, nViewY, -128, 0, 2, 0, 256);
|
||||
viewDrawText(3, pBuffer, gViewX1S /2, nViewY, -128, 0, 2, 0, 256);
|
||||
|
||||
#if 0 // needs to be generalized
|
||||
if (gViewMap.bFollowMode)
|
||||
|
|
|
@ -224,7 +224,9 @@ void viewDrawText(int nFont, const char *pString, int x, int y, int nShade, int
|
|||
|
||||
//y += pFont->yoff;
|
||||
|
||||
if (position) x -= pFont->StringWidth(pString) / 2;
|
||||
if (position == 1) x -= pFont->StringWidth(pString) / 2;
|
||||
if (position == 2) x -= pFont->StringWidth(pString);
|
||||
|
||||
|
||||
if (shadow)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue