mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-18 14:41:55 +00:00
Fix a mistake in r7322
Patch from Fox. git-svn-id: https://svn.eduke32.com/eduke32@7335 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
f349dfdabf
commit
cf86f63121
1 changed files with 4 additions and 4 deletions
|
@ -549,9 +549,9 @@ vec2_t G_ScreenText(const int32_t font,
|
|||
}
|
||||
|
||||
if (f & TEXT_XRIGHT)
|
||||
origin.x = -((linewidth>>16)<<16);
|
||||
origin.x = -(linewidth/z*z);
|
||||
else if (f & TEXT_XCENTER)
|
||||
origin.x = -((linewidth>>17)<<16);
|
||||
origin.x = -(linewidth/2/z*z);
|
||||
}
|
||||
|
||||
if (f & TEXT_YJUSTIFY)
|
||||
|
@ -562,9 +562,9 @@ vec2_t G_ScreenText(const int32_t font,
|
|||
}
|
||||
|
||||
if (f & TEXT_YBOTTOM)
|
||||
origin.y = -((size.y>>16)<<16);
|
||||
origin.y = -(size.y/z*z);
|
||||
else if (f & TEXT_YCENTER)
|
||||
origin.y = -((size.y>>17)<<16);
|
||||
origin.y = -(size.y/2/z*z);
|
||||
}
|
||||
|
||||
// loop through the string
|
||||
|
|
Loading…
Reference in a new issue