mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-16 17:41:19 +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
c4780495e1
commit
660d930cf6
1 changed files with 1 additions and 1 deletions
|
@ -973,7 +973,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