mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-27 22:42:29 +00:00
- do not set crouch player sprites on voodoo dolls
https://forum.zdoom.org/viewtopic.php?t=65257
This commit is contained in:
parent
e0f52ddf8e
commit
73ddab3a59
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue