mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 21:11:39 +00:00
- Oh, dear I committed the wrong version of the fix in r3722.
SVN r3723 (trunk)
This commit is contained in:
parent
a71b2210a1
commit
b6fb733a81
1 changed files with 9 additions and 7 deletions
|
@ -1488,7 +1488,6 @@ void P_CheckPlayerSprites()
|
||||||
// Set the crouch sprite
|
// Set the crouch sprite
|
||||||
if (player->crouchfactor < FRACUNIT*3/4)
|
if (player->crouchfactor < FRACUNIT*3/4)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (mo->sprite == mo->SpawnState->sprite || mo->sprite == mo->crouchsprite)
|
if (mo->sprite == mo->SpawnState->sprite || mo->sprite == mo->crouchsprite)
|
||||||
{
|
{
|
||||||
crouchspriteno = mo->crouchsprite;
|
crouchspriteno = mo->crouchsprite;
|
||||||
|
@ -1517,13 +1516,16 @@ void P_CheckPlayerSprites()
|
||||||
}
|
}
|
||||||
else // Set the normal sprite
|
else // Set the normal sprite
|
||||||
{
|
{
|
||||||
if (mo->sprite == mo->crouchsprite)
|
if (mo->sprite != 0)
|
||||||
{
|
{
|
||||||
mo->sprite = mo->SpawnState->sprite;
|
if (mo->sprite == mo->crouchsprite)
|
||||||
}
|
{
|
||||||
else if (mo->sprite != 0 && mo->sprite == skins[player->userinfo.skin].crouchsprite)
|
mo->sprite = mo->SpawnState->sprite;
|
||||||
{
|
}
|
||||||
mo->sprite = skins[player->userinfo.skin].sprite;
|
else if (mo->sprite != 0 && mo->sprite == skins[player->userinfo.skin].crouchsprite)
|
||||||
|
{
|
||||||
|
mo->sprite = skins[player->userinfo.skin].sprite;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
mo->scaleY = defscaleY;
|
mo->scaleY = defscaleY;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue