mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Power-ups: fix HUD not sliding away on tally
This commit is contained in:
parent
d35edcac9c
commit
79177f6aff
1 changed files with 10 additions and 1 deletions
|
|
@ -1,3 +1,12 @@
|
|||
// DR. ROBOTNIK'S RING RACERS
|
||||
//-----------------------------------------------------------------------------
|
||||
// Copyright (C) 2023-2024 by Kart Krew.
|
||||
//
|
||||
// This program is free software distributed under the
|
||||
// terms of the GNU General Public License, version 2.
|
||||
// See the 'LICENSE' file for more details.
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#include <algorithm>
|
||||
#include <functional>
|
||||
|
||||
|
|
@ -81,7 +90,7 @@ void K_drawKartPowerUps(void)
|
|||
{
|
||||
auto make_drawer = [](int x, int y, Draw::Font font) -> Draw
|
||||
{
|
||||
return Draw(x, y).font(font).align(Draw::Align::kRight);
|
||||
return Draw(x, y).font(font).align(Draw::Align::kRight).flags(V_SLIDEIN);
|
||||
};
|
||||
|
||||
const int viewnum = R_GetViewNumber();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue