RaceCar destructor (#488)

* RaceCar destructor

* Fixes

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
Joshua Peisach 2024-01-26 12:13:09 -05:00 committed by GitHub
parent 88fd1e658d
commit 0a672d2146
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,17 +1,21 @@
#include "racecar.h"
#include "legocontrolmanager.h"
#include "legoomni.h"
DECOMP_SIZE_ASSERT(RaceCar, 0x164);
// FUNCTION: LEGO1 0x10028200
RaceCar::RaceCar()
{
this->m_unk0x13c = 40.0;
m_unk0x13c = 40.0;
}
// STUB: LEGO1 0x10028420
// FUNCTION: LEGO1 0x10028420
RaceCar::~RaceCar()
{
// TODO
ControlManager()->Unregister(this);
VTable0xe4();
}
// STUB: LEGO1 0x10028490