We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 109a9f1 commit ec1bef5Copy full SHA for ec1bef5
1 file changed
MarathonRecomp/patches/player_patches.cpp
@@ -46,6 +46,12 @@ PPC_FUNC(sub_8221A7D8)
46
PPC_FUNC_IMPL(__imp__sub_821E8C48);
47
PPC_FUNC(sub_821E8C48)
48
{
49
+ if (!Config::TailsGauge)
50
+ {
51
+ __imp__sub_821E8C48(ctx, base);
52
+ return;
53
+ }
54
+
55
auto pPlayer = (Sonicteam::Player::Object*)(base + ctx.r4.u32);
56
if (pPlayer->m_PlayerLua == "player/tails.lua")
57
@@ -61,6 +67,7 @@ PPC_FUNC(sub_821E8C48)
61
67
62
68
pPlayer->m_spGauge = *spSonicGauge.get();
63
69
}
70
64
71
__imp__sub_821E8C48(ctx, base);
65
72
66
73
0 commit comments