mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
Blood: do not use tile offsets for voxels
This commit is contained in:
parent
17be2617cf
commit
6ec33c2954
1 changed files with 2 additions and 0 deletions
|
@ -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 const nRootTile = pTSprite->picnum;
|
||||||
int nAnimTile = pTSprite->picnum + animateoffs_replace(pTSprite->picnum, 32768+pTSprite->owner);
|
int nAnimTile = pTSprite->picnum + animateoffs_replace(pTSprite->picnum, 32768+pTSprite->owner);
|
||||||
|
|
||||||
|
#if 0
|
||||||
if (tiletovox[nAnimTile] != -1)
|
if (tiletovox[nAnimTile] != -1)
|
||||||
{
|
{
|
||||||
pTSprite->yoffset += picanm[nAnimTile].yofs;
|
pTSprite->yoffset += picanm[nAnimTile].yofs;
|
||||||
pTSprite->xoffset += picanm[nAnimTile].xofs;
|
pTSprite->xoffset += picanm[nAnimTile].xofs;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
int const nVoxel = tiletovox[pTSprite->picnum];
|
int const nVoxel = tiletovox[pTSprite->picnum];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue