mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 04:00:00 +00:00
Fix pickup text
This commit is contained in:
parent
c2672bd630
commit
0428b5b694
|
@ -1336,7 +1336,7 @@ CPickups::RenderPickUpText()
|
|||
#ifdef FIX_BUGS
|
||||
const float MAX_SCALE = SCREEN_WIDTH / DEFAULT_SCREEN_WIDTH;
|
||||
#else
|
||||
const float MAX_SCALE = RsGlobal.width / DEFAULT_SCREEN_WIDTH;
|
||||
float MAX_SCALE = RsGlobal.width / DEFAULT_SCREEN_WIDTH;
|
||||
#endif
|
||||
|
||||
float fScaleY = aMessages[i].m_dist.y / 30.0f;
|
||||
|
@ -1345,11 +1345,7 @@ CPickups::RenderPickUpText()
|
|||
float fScaleX = aMessages[i].m_dist.x / 30.0f;
|
||||
if (fScaleX > MAX_SCALE) fScaleX = MAX_SCALE;
|
||||
|
||||
#ifdef FIX_BUGS
|
||||
CFont::SetScale(SCREEN_SCALE_X(fScaleX), SCREEN_SCALE_Y(fScaleY));
|
||||
#else
|
||||
CFont::SetScale(fScaleX, fScaleY);
|
||||
#endif
|
||||
CFont::SetScale(fScaleX, fScaleY); // this shouldn't be scaled
|
||||
CFont::SetCentreOn();
|
||||
CFont::SetCentreSize(SCREEN_WIDTH);
|
||||
CFont::SetJustifyOff();
|
||||
|
|
Loading…
Reference in a new issue