summaryrefslogtreecommitdiff
path: root/src/d
diff options
context:
space:
mode:
authorDanTGL <33489389+DanTGL@users.noreply.github.com>2024-07-18 15:12:35 +0200
committerDanTGL <33489389+DanTGL@users.noreply.github.com>2024-07-18 15:12:35 +0200
commitdf7ece730298c5ffbecc93df6a9ceb979c6bcb0a (patch)
treee80a5ea869f0ab3529a38dc0643edf96af36c3af /src/d
parent842aeabb9b0d2301e81e4bc956b9d517458727e9 (diff)
Minor cleanup
Diffstat (limited to 'src/d')
-rw-r--r--src/d/actor/d_a_auction.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/d/actor/d_a_auction.cpp b/src/d/actor/d_a_auction.cpp
index 1059a47a..c6c7a4bf 100644
--- a/src/d/actor/d_a_auction.cpp
+++ b/src/d/actor/d_a_auction.cpp
@@ -823,7 +823,7 @@ void daAuction_c::eventMainKai() {
if (dComIfG_getTimerRestTimeMs() <= 0) {
m82B = 1;
} else {
- if (g_mDoCPd_cpadInfo[0].mButtonTrig.b) {
+ if (CPad_CHECK_TRIG_B(0)) {
setMessage2(0x1CFC);
mDoAud_seStart(JA_SE_AUC_QUIT);
} else {
@@ -841,7 +841,7 @@ void daAuction_c::eventMainKai() {
m7C4[0] += 0.02f;
}
- if (g_mDoCPd_cpadInfo[0].mButtonTrig.a) {
+ if (CPad_CHECK_TRIG_A(0)) {
m7C4[0] += l_npc_dat[0].field_0x00 + cM_rndF(l_npc_dat[0].field_0x04 - l_npc_dat[0].field_0x00);
mDoAud_seStart(JA_SE_AUC_BID_GAUGE, NULL, m7C4[0]);
@@ -989,7 +989,7 @@ void daAuction_c::eventMainUri() {
if (dComIfG_getTimerRestTimeMs() <= 0) {
m82B = 1;
- } else if (m82E != 0 && g_mDoCPd_cpadInfo[0].mButtonTrig.a) {
+ } else if (m82E != 0 && CPad_CHECK_TRIG_A(0)) {
setMessage2(0x1D1A);
} else {
if (m806 != 0) {