Blood: do not use tile offsets for voxels

This commit is contained in:
nukeykt 2020-05-19 08:43:56 +09:00 committed by Christoph Oelckers
parent 17be2617cf
commit 6ec33c2954

View file

@ -2405,11 +2405,13 @@ void viewProcessSprites(int32_t cX, int32_t cY, int32_t cZ, int32_t cA, int32_t
int const nRootTile = pTSprite->picnum;
int nAnimTile = pTSprite->picnum + animateoffs_replace(pTSprite->picnum, 32768+pTSprite->owner);
#if 0
if (tiletovox[nAnimTile] != -1)
{
pTSprite->yoffset += picanm[nAnimTile].yofs;
pTSprite->xoffset += picanm[nAnimTile].xofs;
}
#endif
int const nVoxel = tiletovox[pTSprite->picnum];