- fixed typo in the actor variant of seqKill.

This commit is contained in:
Christoph Oelckers 2021-09-02 12:18:56 +02:00
parent c5d7455317
commit 7c1826e909

View file

@ -479,12 +479,12 @@ SEQINST* GetInstance(int type, int nXIndex)
SEQINST* GetInstance(DBloodActor* actor)
{
return activeList.get(3, actor->s().index);
return activeList.get(SS_SPRITE, actor->s().extra);
}
int seqGetStatus(DBloodActor* actor)
{
return seqGetStatus(3, actor->s().index);
return seqGetStatus(SS_SPRITE, actor->s().extra);
}
void seqKill(int type, int nXIndex)
@ -499,7 +499,7 @@ void seqKillAll()
void seqKill(DBloodActor* actor)
{
activeList.remove(3, actor->s().extra);
activeList.remove(SS_SPRITE, actor->s().extra);
}