mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Implement various small LegoPathController functions (#914)
* Implement/match LegoPathController::Tickle * Implement various small LegoPathController functions * Add 0x10046b30
This commit is contained in:

committed by
GitHub

parent
b6fc8e27b1
commit
91fe09af3c
@@ -376,7 +376,7 @@ LegoPathBoundary* LegoWorld::FindPathBoundary(const char* p_name)
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x10020120
|
||||
MxResult LegoWorld::GetCurrPathInfo(LegoPathBoundary** p_path, MxS32& p_value)
|
||||
MxResult LegoWorld::GetCurrPathInfo(LegoPathBoundary** p_boundaries, MxS32& p_numL)
|
||||
{
|
||||
LegoPathControllerListCursor cursor(&m_list0x68);
|
||||
LegoPathController* controller;
|
||||
@@ -387,7 +387,7 @@ MxResult LegoWorld::GetCurrPathInfo(LegoPathBoundary** p_path, MxS32& p_value)
|
||||
return FAILURE;
|
||||
}
|
||||
|
||||
return controller->FUN_10046b30(p_path, p_value);
|
||||
return controller->FUN_10046b30(*p_boundaries, p_numL);
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x10020220
|
||||
|
Reference in New Issue
Block a user