mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 12:05:11 +00:00
Possible mac compile fix
This commit is contained in:
parent
76d32bef42
commit
36f2b2218d
2 changed files with 8 additions and 10 deletions
|
@ -51,11 +51,10 @@ void DynOS_Actor_AddCustom(const SysPath &aFilename, const char *aActorName) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Alloc and init the actors gfx list
|
// Alloc and init the actors gfx list
|
||||||
ActorGfx actorGfx = {
|
ActorGfx actorGfx;
|
||||||
.mGfxData = _GfxData,
|
actorGfx.mGfxData = _GfxData;
|
||||||
.mGraphNode = (GraphNode *) DynOS_Geo_GetGraphNode(geoLayout, false),
|
actorGfx.mGraphNode = (GraphNode *) DynOS_Geo_GetGraphNode(geoLayout, false);
|
||||||
.mPackIndex = 99,
|
actorGfx.mPackIndex = 99;
|
||||||
};
|
|
||||||
|
|
||||||
// Add to list
|
// Add to list
|
||||||
DynOS_Actor_Valid(georef, actorGfx);
|
DynOS_Actor_Valid(georef, actorGfx);
|
||||||
|
|
|
@ -18,11 +18,10 @@ static void DynOS_Pack_ActivateActor(s32 aPackIndex, Pair<const char *, GfxData
|
||||||
const void* georef = DynOS_Builtin_Actor_GetFromName(aActorName);
|
const void* georef = DynOS_Builtin_Actor_GetFromName(aActorName);
|
||||||
graphNode->georef = georef;
|
graphNode->georef = georef;
|
||||||
|
|
||||||
ActorGfx actorGfx = {
|
ActorGfx actorGfx;
|
||||||
.mGfxData = aGfxData,
|
actorGfx.mGfxData = aGfxData;
|
||||||
.mGraphNode = graphNode,
|
actorGfx.mGraphNode = graphNode;
|
||||||
.mPackIndex = aPackIndex,
|
actorGfx.mPackIndex = aPackIndex;
|
||||||
};
|
|
||||||
|
|
||||||
// Check if we should disable billboards
|
// Check if we should disable billboards
|
||||||
// TODO: make this smarter
|
// TODO: make this smarter
|
||||||
|
|
Loading…
Reference in a new issue