- second half of actors_d.cpp

This commit is contained in:
Christoph Oelckers 2021-12-21 19:45:48 +01:00
parent f1e608685e
commit 8ff53eae7d
2 changed files with 297 additions and 309 deletions

File diff suppressed because it is too large Load diff

View file

@ -517,9 +517,8 @@ void moveminecart(void)
DukeSectIterator it(csect);
while (auto a2 = it.Next())
{
auto sj = a2->s;
if (badguy(sj))
SetActor(a2, { cx, cy, sj->z });
if (badguy(&a2->spr))
SetActor(a2, { cx, cy, a2->spr.z });
}
}
}