From 36f2b2218d353179f776da236ad6517aa257d154 Mon Sep 17 00:00:00 2001 From: MysterD Date: Sat, 23 Apr 2022 15:54:39 -0700 Subject: [PATCH] Possible mac compile fix --- data/dynos_mgr_actor.cpp | 9 ++++----- data/dynos_mgr_pack.cpp | 9 ++++----- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/data/dynos_mgr_actor.cpp b/data/dynos_mgr_actor.cpp index 75f4e94b..cf9832c8 100644 --- a/data/dynos_mgr_actor.cpp +++ b/data/dynos_mgr_actor.cpp @@ -51,11 +51,10 @@ void DynOS_Actor_AddCustom(const SysPath &aFilename, const char *aActorName) { } // Alloc and init the actors gfx list - ActorGfx actorGfx = { - .mGfxData = _GfxData, - .mGraphNode = (GraphNode *) DynOS_Geo_GetGraphNode(geoLayout, false), - .mPackIndex = 99, - }; + ActorGfx actorGfx; + actorGfx.mGfxData = _GfxData; + actorGfx.mGraphNode = (GraphNode *) DynOS_Geo_GetGraphNode(geoLayout, false); + actorGfx.mPackIndex = 99; // Add to list DynOS_Actor_Valid(georef, actorGfx); diff --git a/data/dynos_mgr_pack.cpp b/data/dynos_mgr_pack.cpp index 996b01ec..210a909b 100644 --- a/data/dynos_mgr_pack.cpp +++ b/data/dynos_mgr_pack.cpp @@ -18,11 +18,10 @@ static void DynOS_Pack_ActivateActor(s32 aPackIndex, Pairgeoref = georef; - ActorGfx actorGfx = { - .mGfxData = aGfxData, - .mGraphNode = graphNode, - .mPackIndex = aPackIndex, - }; + ActorGfx actorGfx; + actorGfx.mGfxData = aGfxData; + actorGfx.mGraphNode = graphNode; + actorGfx.mPackIndex = aPackIndex; // Check if we should disable billboards // TODO: make this smarter