summaryrefslogtreecommitdiff
path: root/src/d/d_pad.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/d/d_pad.cpp')
-rw-r--r--src/d/d_pad.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/d_pad.cpp b/src/d/d_pad.cpp
index 8736812a..3b5b8791 100644
--- a/src/d/d_pad.cpp
+++ b/src/d/d_pad.cpp
@@ -498,7 +498,7 @@ void ex_c::fn_80056790(s32 chan) {
f32 f;
if (dScGame_c::GetInstance() != nullptr && dLytMap_c::GetInstance() != nullptr &&
- !dLytMap_c::GetInstance()->isNotInvisible()) {
+ !dLytMap_c::GetInstance()->isVisible()) {
f = dScGame_c::GetInstance()->targetingScreenFn_801BBEC0();
} else {
f = 1.0f;