Implement/match Pizzeria::Create (#862)

This commit is contained in:
Christian Semmler
2024-04-27 10:06:12 -04:00
committed by GitHub
parent f6ffeabed7
commit 659599b635
3 changed files with 41 additions and 10 deletions

View File

@@ -11,17 +11,17 @@ DECOMP_SIZE_ASSERT(IsleActor, 0x7c)
// FUNCTION: LEGO1 0x1002c780
MxResult IsleActor::Create(MxDSAction& p_dsAction)
{
MxResult ret = LegoEntity::Create(p_dsAction);
MxResult result = LegoEntity::Create(p_dsAction);
if (ret == SUCCESS) {
if (result == SUCCESS) {
m_world = CurrentWorld();
if (!m_world) {
ret = FAILURE;
result = FAILURE;
}
}
return ret;
return result;
}
// FUNCTION: LEGO1 0x1002c7b0