mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
- do not call tileUpdatePicnum for voxelized tsprites.
This commit is contained in:
parent
2f55d2a1c7
commit
cc6629a95f
1 changed files with 2 additions and 1 deletions
|
@ -284,7 +284,8 @@ void HWDrawInfo::DispatchSprites()
|
||||||
|
|
||||||
actor->spr.cstat2 |= CSTAT2_SPRITE_MAPPED;
|
actor->spr.cstat2 |= CSTAT2_SPRITE_MAPPED;
|
||||||
|
|
||||||
tileUpdatePicnum(&tilenum, (actor->GetIndex() & 16383) + 32768, 0);
|
if ((tspr->cstat & CSTAT_SPRITE_ALIGNMENT_MASK) != CSTAT_SPRITE_ALIGNMENT_SLAB)
|
||||||
|
tileUpdatePicnum(&tilenum, (actor->GetIndex() & 16383) + 32768, 0);
|
||||||
tspr->picnum = tilenum;
|
tspr->picnum = tilenum;
|
||||||
gotpic.Set(tilenum);
|
gotpic.Set(tilenum);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue