Implement LegoAct2::Tickle() and others (#1168)

* Implement `LegoAct2::Tickle()` and others

* Fix decomplint errors

* Minor cleanup

* Address review comments

---------

Co-authored-by: jonschz <jonschz@users.noreply.github.com>
This commit is contained in:
jonschz
2024-11-25 23:24:46 +01:00
committed by GitHub
parent b9a1da6a7a
commit 83b85f26a7
14 changed files with 221 additions and 14 deletions

View File

@@ -455,7 +455,7 @@ MxU32 LegoPathActor::VTable0x6c(
if (plpas.find(*itpa) != plpas.end()) {
LegoPathActor* actor = *itpa;
if (this != actor && !(actor->GetState() & 0x100)) {
if (this != actor && !(actor->GetState() & LegoPathActor::c_bit9)) {
LegoROI* roi = actor->GetROI();
if (roi != NULL && (roi->GetVisibility() || actor->GetCameraFlag())) {