From 04ea6b1395bd59824945a9ed570b3f09239d9fe7 Mon Sep 17 00:00:00 2001 From: fig02 Date: Mon, 18 Jan 2021 16:36:41 -0500 Subject: [PATCH] Quick type fix (#644) * quick fix * functions.h --- include/functions.h | 2 +- src/code/z_actor.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/functions.h b/include/functions.h index d9550dedfa..b3f1be4f49 100644 --- a/include/functions.h +++ b/include/functions.h @@ -347,7 +347,7 @@ void EffectSsIceSmoke_Spawn(GlobalContext* globalCtx, Vec3f* pos, Vec3f* velocit void FlagSet_Update(GlobalContext* globalCtx); void Overlay_LoadGameState(GameStateOverlay* overlayEntry); void Overlay_FreeGameState(GameStateOverlay* overlayEntry); -void ActorShape_Init(ActorShape* shape, f32 yOffset, ActorShadowFunc* shadowDraw, f32 shadowScale); +void ActorShape_Init(ActorShape* shape, f32 yOffset, ActorShadowFunc shadowDraw, f32 shadowScale); void ActorShadow_DrawCircle(Actor* actor, Lights* lights, GlobalContext* globalCtx); void ActorShadow_DrawWhiteCircle(Actor* actor, Lights* lights, GlobalContext* globalCtx); void ActorShadow_DrawHorse(Actor* actor, Lights* lights, GlobalContext* globalCtx); diff --git a/src/code/z_actor.c b/src/code/z_actor.c index e1c68a76dc..a009939877 100644 --- a/src/code/z_actor.c +++ b/src/code/z_actor.c @@ -5,7 +5,7 @@ #include "overlays/actors/ovl_En_Part/z_en_part.h" #include "objects/gameplay_keep/gameplay_keep.h" -void ActorShape_Init(ActorShape* shape, f32 yOffset, ActorShadowFunc* shadowDraw, f32 shadowScale) { +void ActorShape_Init(ActorShape* shape, f32 yOffset, ActorShadowFunc shadowDraw, f32 shadowScale) { shape->yOffset = yOffset; shape->shadowDraw = shadowDraw; shape->shadowScale = shadowScale;