0
0
Fork 0
mirror of https://github.com/ZDoom/Raze.git synced 2025-04-07 08:22:01 +00:00

removed voxel offsetting in Blood's animateSprites function

Since offsetting is being done in the backend now, this one is redundant.
This commit is contained in:
Christoph Oelckers 2023-10-24 16:44:06 +02:00
parent c540c96ddb
commit 375ef31304

View file

@ -662,7 +662,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();