mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
fix Top, FPZ help text
This commit is contained in:
parent
f12f69559b
commit
00e97a4387
1 changed files with 7 additions and 2 deletions
|
|
@ -433,13 +433,18 @@ std::optional<TargetTracking::Tooltip> object_tooltip(const mobj_t* mobj)
|
|||
case MT_GARDENTOP:
|
||||
return conditional(
|
||||
mobj->tracer == stplyr->mo && Obj_GardenTopPlayerNeedsHelp(mobj),
|
||||
[&] { return TextElement("Try \xA7!").font(splitfont); }
|
||||
[&] { return TextElement().parse("Try <r>!").font(splitfont); }
|
||||
);
|
||||
|
||||
case MT_PLAYER:
|
||||
return conditional(
|
||||
mobj->player == stplyr && stplyr->icecube.frozen,
|
||||
[&] { return Tooltip(TextElement("\xA7")).offset3d(0, 0, 64 * mobj->scale * P_MobjFlip(mobj)); }
|
||||
[&] { return Tooltip(TextElement(
|
||||
(leveltime/(TICRATE/2)%2) ?
|
||||
TextElement().parse("<r_animated>").font(Draw::Font::kMenu) :
|
||||
TextElement().parse("<a_animated>").font(Draw::Font::kMenu)
|
||||
)).offset3d(0, 0, 64 * mobj->scale * P_MobjFlip(mobj)); }
|
||||
// I will be trying to figure out why the return value didn't accept a straightforward call to parse() for the rest of my life (apprx. 15 seconds)
|
||||
);
|
||||
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue