diff --git a/LEGO1/legoomni.cpp b/LEGO1/legoomni.cpp index f7a95487..d195957d 100644 --- a/LEGO1/legoomni.cpp +++ b/LEGO1/legoomni.cpp @@ -188,18 +188,18 @@ LegoBuildingManager* BuildingManager() return LegoOmni::GetInstance()->GetLegoBuildingManager(); } -// FUNCTION: LEGO1 0x100158c0 -LegoEntity* FindEntityByAtomIdOrEntityId(const MxAtomId& p_atom, MxS32 p_entityid) -{ - return LegoOmni::GetInstance()->FindByEntityIdOrAtomId(p_atom, p_entityid); -} - // FUNCTION: LEGO1 0x10015800 GifManager* GetGifManager() { return LegoOmni::GetInstance()->GetGifManager(); } +// FUNCTION: LEGO1 0x100158c0 +LegoEntity* FindEntityByAtomIdOrEntityId(const MxAtomId& p_atom, MxS32 p_entityid) +{ + return LegoOmni::GetInstance()->FindByEntityIdOrAtomId(p_atom, p_entityid); +} + // FUNCTION: LEGO1 0x100158e0 MxDSAction& GetCurrentAction() { diff --git a/LEGO1/legoomni.h b/LEGO1/legoomni.h index 38a1b7f3..f8e61946 100644 --- a/LEGO1/legoomni.h +++ b/LEGO1/legoomni.h @@ -157,8 +157,8 @@ IslePathActor* GetCurrentVehicle(); LegoPlantManager* PlantManager(); MxBool KeyValueStringParse(char*, const char*, const char*); LegoWorld* GetCurrentWorld(); -LegoEntity* FindEntityByAtomIdOrEntityId(const MxAtomId& p_atom, MxS32 p_entityid); GifManager* GetGifManager(); +LegoEntity* FindEntityByAtomIdOrEntityId(const MxAtomId& p_atom, MxS32 p_entityid); MxDSAction& GetCurrentAction(); void RegisterScripts();