mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-21 07:22:33 +00:00
Fix speakernamewidthoffset hack to avoid over-spacing Tails' name in menu font
This commit is contained in:
parent
f89124d7e1
commit
97dfe7a010
1 changed files with 1 additions and 1 deletions
|
|
@ -378,7 +378,7 @@ void Dialogue::Draw(void)
|
||||||
INT32 speakernamewidth = V_MenuStringWidth(speakername, 0);
|
INT32 speakernamewidth = V_MenuStringWidth(speakername, 0);
|
||||||
INT32 existingborder = (portrait == nullptr ? -4 : 3);
|
INT32 existingborder = (portrait == nullptr ? -4 : 3);
|
||||||
|
|
||||||
INT32 speakernamewidthoffset = (speakernamewidth + (arrowstep - existingborder) - 1) % arrowstep;
|
INT32 speakernamewidthoffset = (speakernamewidth + (arrowstep - existingborder) - 2) % arrowstep;
|
||||||
if (speakernamewidthoffset)
|
if (speakernamewidthoffset)
|
||||||
{
|
{
|
||||||
speakernamewidthoffset = (arrowstep - speakernamewidthoffset);
|
speakernamewidthoffset = (arrowstep - speakernamewidthoffset);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue