diff options
| author | robojumper <robojumper@gmail.com> | 2025-09-19 22:25:10 +0200 |
|---|---|---|
| committer | robojumper <robojumper@gmail.com> | 2025-09-19 22:52:12 +0200 |
| commit | 48ae3aead6f6c57210bbe9e5524760a86b226efa (patch) | |
| tree | 877585834d51e460a9a241b1cc062bc283da73e5 /src/d/d_pad.cpp | |
| parent | 4e84190c04c25bc33c473bb93fc0b080984b5b84 (diff) | |
Almost done
Diffstat (limited to 'src/d/d_pad.cpp')
| -rw-r--r-- | src/d/d_pad.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/d/d_pad.cpp b/src/d/d_pad.cpp index efc067d1..75a64e4f 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) { |
