summaryrefslogtreecommitdiff
path: root/src/d/d_pad.cpp
diff options
context:
space:
mode:
authorrobojumper <robojumper@gmail.com>2025-09-27 12:21:38 +0200
committerGitHub <noreply@github.com>2025-09-27 12:21:38 +0200
commite8fea3ebe5ee0056195834f836aa0c07a891da7d (patch)
tree3bfcb7adc19b8bb38173cebe490b34aa8da10bcf /src/d/d_pad.cpp
parent4d2420e52f3340d1b0d02e391da3f5552a75ae8b (diff)
parent13acaee08772cc96ccbf0c9572ab93ee634181c8 (diff)
Merge pull request #252 from robojumper/more_cursor_stuff
Cursor Cleanup
Diffstat (limited to 'src/d/d_pad.cpp')
-rw-r--r--src/d/d_pad.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/d/d_pad.cpp b/src/d/d_pad.cpp
index 098983e4..8736812a 100644
--- a/src/d/d_pad.cpp
+++ b/src/d/d_pad.cpp
@@ -7,8 +7,8 @@
#include "d/d_cs_game.h"
#include "d/d_gfx.h"
#include "d/d_hbm.h"
-#include "d/d_pad_nav.h"
#include "d/d_pad_manager.h"
+#include "d/d_pad_nav.h"
#include "d/d_reset.h"
#include "d/d_sc_game.h"
#include "d/lyt/d_lyt_control_game.h"
@@ -222,8 +222,8 @@ void beginPad_BR() {
KPADEnableMplsAccRevise(0);
KPADSetMplsAccReviseParam(0, 0.03f, 0.4f);
- if ((dCsGame_c::GetInstance() && dCsGame_c::GetInstance()->fn_801BF5E0() && !ex.field_0x22D0) ||
- (dAcPy_c::GetLink() &&
+ if ((dCsGame_c::GetInstance() != nullptr && dCsGame_c::GetInstance()->shouldDraw() && !ex.field_0x22D0) ||
+ (dAcPy_c::GetLink() != nullptr &&
dAcPy_c::GetLink()->checkActionFlagsCont(0x400 | 0x100 | 0x80 | 0x40 | 0x10 | 0x4 | 0x2 | 0x1) &&
!dAcPy_c::GetLink()->vt_0x1C0() && !dLytMeter_c::GetMain()->getField_0x1377F()) ||
ex.field_0x22CF) {