Skip to content

Commit

Permalink
removed voxel offsetting in Blood's animateSprites function
Browse files Browse the repository at this point in the history
Since offsetting is being done in the backend now, this one is redundant.
  • Loading branch information
coelckers committed Oct 24, 2023
1 parent 14c5261 commit 6eae603
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion source/games/blood/src/animatesprite.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,6 @@ void viewProcessSprites(tspriteArray& tsprites, const DVector3& cPos, DAngle cA,
{
pTSprite->cstat &= ~(CSTAT_SPRITE_XFLIP | CSTAT_SPRITE_YFLIP);
auto tex = TexMan.GetGameTexture(pTSprite->spritetexture());
pTSprite->yoffset += (uint8_t)tex->GetDisplayTopOffset();
if (nAnimType == 7)
{
pTSprite->Angles.Yaw = myclock.Normalized360();
Expand Down

0 comments on commit 6eae603

Please sign in to comment.