From 283638aef33e5b437422a371384dbc9b4e2ec477 Mon Sep 17 00:00:00 2001 From: Demur Rumed Date: Wed, 11 Jun 2025 00:20:29 +0000 Subject: [PATCH] fix wall indicator when not walking forwards --- soh/soh/Enhancements/accessible-actors/ActorAccessibility.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soh/soh/Enhancements/accessible-actors/ActorAccessibility.cpp b/soh/soh/Enhancements/accessible-actors/ActorAccessibility.cpp index 417fac124..0533cb3ee 100644 --- a/soh/soh/Enhancements/accessible-actors/ActorAccessibility.cpp +++ b/soh/soh/Enhancements/accessible-actors/ActorAccessibility.cpp @@ -485,7 +485,7 @@ void ActorAccessibility_GeneralHelper(PlayState* play) { ActorAccessibility_AnnounceRoomNumber(play); } - if (player->actor.wallPoly && player->actor.speedXZ > 0 && player->yDistToLedge >= 79.0f) { + if (player->actor.wallPoly && player->actor.speedXZ > 0 && (player->yDistToLedge == 0 || player->yDistToLedge >= 79.0f)) { f32 movedsq = SQ(aa->prevPos.x - player->actor.world.pos.x) + SQ(aa->prevPos.z - player->actor.world.pos.z); if (movedsq < 0.125) { ActorAccessibility_PlaySound(nullptr, 3, NA_SE_IT_WALL_HIT_SOFT);