mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 20:43:15 +00:00
- Fixed: Do not override the player's sprite if it's TNT1 and the player is uncrouched without
a specific crouch sprite defined by both the player class and skin. SVN r3722 (trunk)
This commit is contained in:
parent
4bbc9266e2
commit
a71b2210a1
1 changed files with 1 additions and 1 deletions
|
@ -1521,7 +1521,7 @@ void P_CheckPlayerSprites()
|
|||
{
|
||||
mo->sprite = mo->SpawnState->sprite;
|
||||
}
|
||||
else if (mo->sprite == skins[player->userinfo.skin].crouchsprite)
|
||||
else if (mo->sprite != 0 && mo->sprite == skins[player->userinfo.skin].crouchsprite)
|
||||
{
|
||||
mo->sprite = skins[player->userinfo.skin].sprite;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue