mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-23 16:21:15 +00:00
Address review comments
This commit is contained in:
parent
0a01e9c03f
commit
a3013e7a87
@ -52,7 +52,7 @@ class LegoActor : public LegoEntity {
|
||||
virtual void VTable0x58(MxFloat p_unk0x70) { m_unk0x70 = p_unk0x70; } // vtable+0x58
|
||||
|
||||
// FUNCTION: LEGO1 0x10002cf0
|
||||
virtual MxFloat GetUnk0x70() { return m_unk0x70; } // vtable+0x5c
|
||||
virtual MxFloat VTable0x5c() { return m_unk0x70; } // vtable+0x5c
|
||||
|
||||
// FUNCTION: LEGO1 0x10002d00
|
||||
virtual MxU8 GetActorId() { return m_actorId; } // vtable+0x60
|
||||
|
||||
@ -36,7 +36,7 @@ LegoCarRaceActor::LegoCarRaceActor()
|
||||
void LegoCarRaceActor::FUN_10080590(float p_float)
|
||||
{
|
||||
MxFloat maxSpeed = m_maxLinearVel;
|
||||
Mx3DPointFloat destEdgeUnknownVector = Mx3DPointFloat();
|
||||
Mx3DPointFloat destEdgeUnknownVector;
|
||||
Mx3DPointFloat worldDirection = Mx3DPointFloat(m_roi->GetWorldDirection());
|
||||
|
||||
m_destEdge->FUN_1002ddc0(*m_boundary, destEdgeUnknownVector);
|
||||
@ -49,7 +49,8 @@ void LegoCarRaceActor::FUN_10080590(float p_float)
|
||||
LegoPathActor* userActor = UserActor();
|
||||
|
||||
if (userActor) {
|
||||
deltaUnk0x70 = m_unk0x70 - userActor->GetUnk0x70();
|
||||
// All known implementations of LegoPathActor->VTable0x5c() return LegoPathActor::m_unk0x70
|
||||
deltaUnk0x70 = m_unk0x70 - userActor->VTable0x5c();
|
||||
}
|
||||
else {
|
||||
deltaUnk0x70 = 0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user