- fixed merge error in handle_se00.

This commit is contained in:
Christoph Oelckers 2020-11-01 10:52:38 +01:00
parent 7967391728
commit b9aa5de217

View file

@ -2771,7 +2771,7 @@ void handle_se00(DDukeActor* actor, int LASERLINE)
DukeSectIterator itp(s->sectnum); DukeSectIterator itp(s->sectnum);
while (auto ap = itp.Next()) while (auto ap = itp.Next())
{ {
auto sprp = &sprite[p]; auto sprp = &ap->s;
if (sprp->statnum != 3 && sprp->statnum != 4) if (sprp->statnum != 3 && sprp->statnum != 4)
if (LASERLINE < 0 || sprp->picnum != LASERLINE) if (LASERLINE < 0 || sprp->picnum != LASERLINE)
{ {