mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-22 20:21:20 +00:00
- SW: Tidy up the player sprite pos variable a little.
This commit is contained in:
parent
577099284f
commit
c5f27f28b7
1 changed files with 1 additions and 1 deletions
|
@ -784,7 +784,7 @@ static void analyzesprites(tspriteArray& tsprites, const DVector3& viewpos, doub
|
||||||
if (pp->Flags & (PF_VIEW_FROM_OUTSIDE))
|
if (pp->Flags & (PF_VIEW_FROM_OUTSIDE))
|
||||||
tsp->cstat |= (CSTAT_SPRITE_TRANSLUCENT);
|
tsp->cstat |= (CSTAT_SPRITE_TRANSLUCENT);
|
||||||
|
|
||||||
auto pos = DVector3(pp->si.XY(), tsp->pos.Z + pp->si.Z + pp->getViewHeightDiff());
|
auto pos = pp->si.plusZ(tsp->pos.Z + pp->getViewHeightDiff());
|
||||||
|
|
||||||
if (pp->Flags & (PF_CLIMBING))
|
if (pp->Flags & (PF_CLIMBING))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue