- 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:
Randy Heit 2012-07-01 03:33:49 +00:00
parent 4bbc9266e2
commit a71b2210a1

View file

@ -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;
} }