mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 21:11:39 +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;
|
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;
|
mo->sprite = skins[player->userinfo.skin].sprite;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue