From e0122bd9f6f3c3f710a50b1184404b63ca6c2c12 Mon Sep 17 00:00:00 2001 From: Misha <106913236+MishaProductions@users.noreply.github.com> Date: Fri, 15 Dec 2023 15:58:27 -0500 Subject: [PATCH] fix order --- LEGO1/legoomni.cpp | 12 ++++++------ LEGO1/legoomni.h | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) 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();