Revert "Merge pull request #359 from Leonard2/master"
This reverts commit364ca11b43, reversing changes made todae0e217d1. Conflicts: src/r_data/r_interpolate.cpp
This commit is contained in:
parent
9d68fd8fe9
commit
b613db4ae5
8 changed files with 4 additions and 251 deletions
|
|
@ -1104,32 +1104,11 @@ void P_MovePsprites (player_t *player)
|
|||
P_CheckWeaponZoom (player);
|
||||
}
|
||||
}
|
||||
|
||||
psp = &player->psprites[0];
|
||||
for (i = 0; i < NUMPSPRITES; i++, psp++)
|
||||
{
|
||||
if (psp->state == NULL)
|
||||
{
|
||||
if (psp->interpolation != NULL)
|
||||
{
|
||||
player->pspinterp[i] = NULL;
|
||||
psp->StopInterpolation();
|
||||
}
|
||||
}
|
||||
else if (psp->interpolation == NULL)
|
||||
{
|
||||
player->pspinterp[i] = psp->SetInterpolation(player - players, i);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
FArchive &operator<< (FArchive &arc, pspdef_t &def)
|
||||
{
|
||||
arc << def.state << def.tics << def.sx << def.sy
|
||||
<< def.sprite << def.frame;
|
||||
|
||||
if (SaveVersion >= 4525)
|
||||
arc << def.interpolation;
|
||||
|
||||
return arc;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue