mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
Implement/match LegoAct2::FUN_10052560()
(#1174)
* Implement/match `LegoAct2::FUN_10052560()` * Fix formatting * Fix linter errors * Address review comment --------- Co-authored-by: jonschz <jonschz@users.noreply.github.com>
This commit is contained in:
@@ -488,6 +488,7 @@ const char* LegoOmni::GetWorldName(MxU32 p_id)
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x1005b460
|
||||
// FUNCTION: BETA10 0x1008edd8
|
||||
MxAtomId* LegoOmni::GetWorldAtom(MxU32 p_id)
|
||||
{
|
||||
for (MxS32 i = 0; i < 19; i++) {
|
||||
@@ -496,6 +497,8 @@ MxAtomId* LegoOmni::GetWorldAtom(MxU32 p_id)
|
||||
}
|
||||
}
|
||||
|
||||
// A gem from BETA10
|
||||
assert("Hey, check your code. We do not have this world." == NULL);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user