mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-02-16 09:12:05 +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;
|
||||||
|
@ -1516,6 +1515,8 @@ void P_CheckPlayerSprites()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else // Set the normal sprite
|
else // Set the normal sprite
|
||||||
|
{
|
||||||
|
if (mo->sprite != 0)
|
||||||
{
|
{
|
||||||
if (mo->sprite == mo->crouchsprite)
|
if (mo->sprite == mo->crouchsprite)
|
||||||
{
|
{
|
||||||
|
@ -1525,6 +1526,7 @@ void P_CheckPlayerSprites()
|
||||||
{
|
{
|
||||||
mo->sprite = skins[player->userinfo.skin].sprite;
|
mo->sprite = skins[player->userinfo.skin].sprite;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
mo->scaleY = defscaleY;
|
mo->scaleY = defscaleY;
|
||||||
}
|
}
|
||||||
mo->scaleX = defscaleX;
|
mo->scaleX = defscaleX;
|
||||||
|
|
Loading…
Reference in a new issue