Implement/match LegoRaceActor (#1072)

* Implement LegoRaceActor, add annotations

* Change code duplication comments

---------

Co-authored-by: jonschz <jonschz@users.noreply.github.com>
This commit is contained in:
jonschz
2024-08-03 07:29:21 +02:00
committed by GitHub
parent 412200ecbc
commit 4a41671759
7 changed files with 125 additions and 16 deletions

View File

@@ -405,6 +405,7 @@ void LegoRaceCar::VTable0x70(float p_float)
// FUNCTION: BETA10 0x100cbb84
MxResult LegoRaceCar::VTable0x94(LegoPathActor* p_actor, MxBool p_bool)
{
// Note: Code duplication with LegoRaceActor::VTable0x94
if (!p_actor->GetUserNavFlag()) {
if (p_actor->GetState()) {
return FAILURE;