mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-10 19:01:50 +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 <algorithm>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
|
||||||
|
|
@ -81,7 +90,7 @@ void K_drawKartPowerUps(void)
|
||||||
{
|
{
|
||||||
auto make_drawer = [](int x, int y, Draw::Font font) -> Draw
|
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();
|
const int viewnum = R_GetViewNumber();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue