Implement/match LegoRaceCar::VTable0x94 (#1068)

* Implement LegoRaceCar::VTable0x94

* Remove redundant inline modifiers

* Fix offsets

* Fix minor inconsistency

* Address review comments

* Address review comments, round 2

---------

Co-authored-by: jonschz <jonschz@users.noreply.github.com>
This commit is contained in:
jonschz
2024-07-26 19:53:09 +02:00
committed by GitHub
parent bc9abdc823
commit 0d385e27d0
8 changed files with 148 additions and 7 deletions

View File

@@ -14,8 +14,10 @@ public:
MxLong GetRealTime();
// FUNCTION: BETA10 0x10017810
MxLong GetTime()
{
// Note that the BETA10 implementation differs - it only consists of the second branch of this `if` call
if (this->m_isRunning) {
return g_lastTimeTimerStarted;
}