Skip to content

Commit 0fce877

Browse files
committed
Move the Jump Storage display down if the Star Power Value display is enabled
This fixes these displays being drawn at roughly the same position when the Z menu HUD is in full view.
1 parent 8b6f34b commit 0fce877

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ttyd-tools/rel/source/draw.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4944,6 +4944,12 @@ void drawJumpStorageDetails()
49444944
float Scale = 0.65f;
49454945
float MaxWidth = 110.f; // Failsafe
49464946

4947+
// Move the text down if the star power value display is active
4948+
if (Displays[STAR_POWER_VALUE])
4949+
{
4950+
PosY -= 20;
4951+
}
4952+
49474953
ttyd::mario::Player *player = ttyd::mario::marioGetPtr();
49484954
bool JumpStorageFlag = (player->flags3 & (1 << 16)) >> 16; // Get only the 16 bit
49494955

0 commit comments

Comments
 (0)