mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +00:00
Don't flash ballhog "DANGER!" in reducevfx
This commit is contained in:
parent
893098c59d
commit
f6488697f4
1 changed files with 3 additions and 3 deletions
|
|
@ -471,9 +471,9 @@ std::optional<TargetTracking::Tooltip> object_tooltip(const mobj_t* mobj)
|
||||||
|
|
||||||
if (mobj->player == stplyr && stplyr->ballhogburst >= (BALLHOG_BURST_FUSE/3))
|
if (mobj->player == stplyr && stplyr->ballhogburst >= (BALLHOG_BURST_FUSE/3))
|
||||||
{
|
{
|
||||||
UINT32 flag = 0;
|
UINT32 flag = (stplyr->ballhogburst >= (2*BALLHOG_BURST_FUSE/3)) ? V_REDMAP : V_YELLOWMAP;
|
||||||
if (stplyr->ballhogburst % 2)
|
if (stplyr->ballhogburst % 2 && !cv_reducevfx.value)
|
||||||
flag = (stplyr->ballhogburst >= (2*BALLHOG_BURST_FUSE/3)) ? V_REDMAP : V_YELLOWMAP;
|
flag = 0;
|
||||||
|
|
||||||
return Tooltip(
|
return Tooltip(
|
||||||
TextElement(
|
TextElement(
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue