Bug fix: Follower NPC no longer retains bike sprite after white out (#7120)
This commit is contained in:
parent
cb331aa133
commit
459946ac9a
@ -1172,7 +1172,7 @@ void CreateFollowerNPCAvatar(void)
|
||||
|
||||
void FollowerNPC_HandleSprite(void)
|
||||
{
|
||||
if (CheckFollowerNPCFlag(FOLLOWER_NPC_FLAG_CAN_BIKE))
|
||||
if (TestPlayerAvatarFlags(PLAYER_AVATAR_FLAG_BIKE) && CheckFollowerNPCFlag(FOLLOWER_NPC_FLAG_CAN_BIKE))
|
||||
{
|
||||
if (gPlayerAvatar.flags & PLAYER_AVATAR_FLAG_MACH_BIKE)
|
||||
SetFollowerNPCSprite(FOLLOWER_NPC_SPRITE_INDEX_MACH_BIKE);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user