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