mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-28 01:40:41 +00:00
Blood: fix view sprites overflow in ROR code
This commit is contained in:
parent
39547e2df5
commit
557cd7e734
1 changed files with 60 additions and 57 deletions
|
@ -31,6 +31,8 @@ void collectTSpritesForPortal(int x, int y, int i, int interpolation)
|
|||
int dx = mirror[j].dx;
|
||||
int dy = mirror[j].dy;
|
||||
int dz = mirror[j].dz;
|
||||
if (pm_spritesortcnt < MAXSPRITESONSCREEN)
|
||||
{
|
||||
tspritetype* pTSprite = &pm_tsprite[pm_spritesortcnt++];
|
||||
*pTSprite = {};
|
||||
pTSprite->type = pSprite->type;
|
||||
|
@ -95,6 +97,7 @@ void collectTSpritesForPortal(int x, int y, int i, int interpolation)
|
|||
pm_spritesortcnt++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue