Skip to content
Permalink
Browse files

- do not set crouch player sprites on voodoo dolls

  • Loading branch information...
alexey-lysiuk authored and coelckers committed Jul 9, 2019
1 parent e0f52dd commit 73ddab3a59f683855bc8ae63d9b805651544d44b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/p_user.cpp
@@ -970,7 +970,7 @@ void P_CheckPlayerSprite(AActor *actor, int &spritenum, DVector2 &scale)
}

// Set the crouch sprite?
if (player->crouchfactor < 0.75)
if (player->mo == actor && player->crouchfactor < 0.75)
{
int crouchsprite = player->mo->IntVar(NAME_crouchsprite);
if (spritenum == actor->SpawnState->sprite || spritenum == crouchsprite)

0 comments on commit 73ddab3

Please sign in to comment.
You can’t perform that action at this time.