Implement/match remaining LegoWorld functions (#526)

* Implement/match remaining LegoWorld functions

* Move functions

* Move function

* Fix function location

* Fix function return type
This commit is contained in:
Christian Semmler
2024-02-04 12:33:37 -05:00
committed by GitHub
parent d324fd664a
commit 434deecee4
6 changed files with 47 additions and 13 deletions

View File

@@ -748,7 +748,7 @@ MxBool LegoOmni::DoesEntityExist(MxDSAction& p_dsAction)
MxS32 LegoOmni::GetCurrPathInfo(LegoPathBoundary** p_path, MxS32& p_value)
{
if (::CurrentWorld() == NULL) {
return -1;
return FAILURE;
}
return ::CurrentWorld()->GetCurrPathInfo(p_path, p_value);