Fix legoplants warnings, add BETA10 references

This commit is contained in:
jonschz 2024-12-25 14:46:21 +01:00
parent 276ad8d735
commit 4346d0b704
3 changed files with 975 additions and 972 deletions

View File

@ -444,6 +444,8 @@ MxS32 Act2Actor::VTable0xa0()
{ {
undefined4 newLocation; undefined4 newLocation;
assert(!m_grec);
CurrentWorld(); CurrentWorld();
MxU16 randomVal = rand() / (RAND_MAX / 2) + 1; MxU16 randomVal = rand() / (RAND_MAX / 2) + 1;

File diff suppressed because it is too large Load Diff

View File

@ -183,6 +183,7 @@ void LegoAnimActor::ClearMaps()
} }
// FUNCTION: LEGO1 0x1001c870 // FUNCTION: LEGO1 0x1001c870
// FUNCTION: BETA10 0x1003e7e4
void LegoAnimActor::SetWorldSpeed(MxFloat p_worldSpeed) void LegoAnimActor::SetWorldSpeed(MxFloat p_worldSpeed)
{ {
if (p_worldSpeed < 0) { if (p_worldSpeed < 0) {