- fixed bad merge

This commit is contained in:
Christoph Oelckers 2021-10-14 01:15:05 +02:00
parent 62d0d3712e
commit b60caa362e

View file

@ -1193,9 +1193,10 @@ void nnExtProcessSuperSprites() {
int index = sprite[gSightSpritesList[i]].index; int index = sprite[gSightSpritesList[i]].index;
// sprite is drawn for one of players // sprite is drawn for one of players
if ((pXSightSpr->unused3 & kTriggerSpriteScreen) && (gSightSpritesList[i]->s().cstat2 & CSTAT2_SPRITE_MAPPED)) if ((pXSightSpr->unused3 & kTriggerSpriteScreen) && (sprite[gSightSpritesList[i]].cstat2 & CSTAT2_SPRITE_MAPPED))
{
trTriggerSprite(index, pXSightSpr, kCmdSpriteSight); trTriggerSprite(index, pXSightSpr, kCmdSpriteSight);
gSightSpritesList[i]->s().cstat2 &= ~CSTAT2_SPRITE_MAPPED; sprite[gSightSpritesList[i]].cstat2 &= ~CSTAT2_SPRITE_MAPPED;
continue; continue;
} }