Update d_a_b_gnd.cpp

This commit is contained in:
baxlek
2026-08-30 08:59:56 -05:00
committed by GitHub
parent e9fdefb4d9
commit ef15247844
+2 -2
View File
@@ -2947,7 +2947,7 @@ static void demo_camera(b_gnd_class* i_this) {
s8 sp8 = false;
#if TARGET_PC
const s16 entry_demo_cam_mode = i_this->mDemoCamMode;
const bool easyGanondorfQTE = DUSK_IF_ELSE(dusk::getSettings().game.holdToMash.ganondorf, false);
const bool holdToMash = DUSK_IF_ELSE(dusk::getSettings().game.holdToMash, false);
#endif
switch (i_this->mDemoCamMode) {
case 0:
@@ -3406,7 +3406,7 @@ static void demo_camera(b_gnd_class* i_this) {
cLib_addCalc2(&i_this->mDemoCamCenter.z, spF0.z + i_this->mDemoCamCenterTarget.z, 0.1f, 5.0f);
}
if ((int)(easyGanondorfQTE ? mDoCPd_c::getHoldA(PAD_1) : mDoCPd_c::getTrigA(PAD_1)) != 0) {
if ((int)(holdToMash ? mDoCPd_c::getHoldA(PAD_1) : mDoCPd_c::getTrigA(PAD_1)) != 0) {
i_this->mTubazeriPushValue += 0.1f;
if (i_this->mTubazeriPushValue > 1.0f) {
i_this->mTubazeriPushValue = 1.0f;