mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-30 21:31:03 +00:00
[Blood] Fix wrong sector path marker stat lookup
This commit is contained in:
parent
3ecd02dcac
commit
edd5b92c94
1 changed files with 2 additions and 2 deletions
|
@ -1498,7 +1498,7 @@ void OperatePath(unsigned int nSector, XSECTOR *pXSector, EVENT event)
|
||||||
spritetype *pSprite2 = &sprite[pXSector->marker0];
|
spritetype *pSprite2 = &sprite[pXSector->marker0];
|
||||||
XSPRITE *pXSprite2 = &xsprite[pSprite2->extra];
|
XSPRITE *pXSprite2 = &xsprite[pSprite2->extra];
|
||||||
int nId = pXSprite2->data2;
|
int nId = pXSprite2->data2;
|
||||||
StatIterator it(kStatMarker);
|
StatIterator it(kStatPathMarker);
|
||||||
while ((nSprite = it.NextIndex()) >= 0)
|
while ((nSprite = it.NextIndex()) >= 0)
|
||||||
{
|
{
|
||||||
pSprite = &sprite[nSprite];
|
pSprite = &sprite[nSprite];
|
||||||
|
@ -1652,7 +1652,7 @@ void InitPath(unsigned int nSector, XSECTOR *pXSector)
|
||||||
XSPRITE *pXSprite;
|
XSPRITE *pXSprite;
|
||||||
assert(nSector < (unsigned int)numsectors);
|
assert(nSector < (unsigned int)numsectors);
|
||||||
int nId = pXSector->data;
|
int nId = pXSector->data;
|
||||||
StatIterator it(kStatMarker);
|
StatIterator it(kStatPathMarker);
|
||||||
while ((nSprite = it.NextIndex()) >= 0)
|
while ((nSprite = it.NextIndex()) >= 0)
|
||||||
{
|
{
|
||||||
pSprite = &sprite[nSprite];
|
pSprite = &sprite[nSprite];
|
||||||
|
|
Loading…
Reference in a new issue