Fix follower NPC sidewaystair movement (#7909)

This commit is contained in:
FosterProgramming 2025-10-16 13:37:36 +02:00 committed by GitHub
parent f8eed27ed0
commit f6c6ed6956
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6591,7 +6591,7 @@ bool8 ObjectEventIsHeldMovementActive(struct ObjectEvent *objectEvent)
static u8 TryUpdateMovementActionOnStairs(struct ObjectEvent *objectEvent, u8 movementActionId)
{
if (objectEvent->isPlayer || objectEvent->localId == OBJ_EVENT_ID_FOLLOWER)
if (objectEvent->isPlayer || objectEvent->localId == OBJ_EVENT_ID_FOLLOWER || objectEvent->localId == OBJ_EVENT_ID_NPC_FOLLOWER)
return movementActionId; // handled separately
if (!ObjectMovingOnRockStairs(objectEvent, objectEvent->movementDirection))