summaryrefslogtreecommitdiff
path: root/src/code/m_actor_shadow.c
diff options
context:
space:
mode:
authorAnghelo Carvajal <angheloalf95@gmail.com>2024-05-30 17:00:57 -0400
committerGitHub <noreply@github.com>2024-05-30 14:00:57 -0700
commitfd0581121366309a56c648eda7a299537e355b28 (patch)
tree6fb8d8b167fecd8799748ccb1caab1a013c7e739 /src/code/m_actor_shadow.c
parent1f7fbf9b291d5685633e6e819b2579f36dc4ef2b (diff)
`m_trademark` OK (#192)
* C file * trademark_init * trademark_cancel, trademark_move, trademark_main * trademark_draw * trademark_goto_demo_scene and func_80805360_jp * set_npc_4_title_demo * func_80804C40_jp * trademark_cleanup * func_808052B8_jp * func_80805104_jp * func_80804F78_jp * func_80804EE0_jp * fix warnings * small cleanup * fix build * some fixes * stuff * some cleanups * Fix rebase * Import data * Migrate bss * cleanup * Save substruct * format * TrademarkState and some other stuff * remove fake match * stuff I missed * whoops * Stupid `-Wtype-limits` * Update src/overlays/gamestates/ovl_trademark/m_trademark.c Co-authored-by: Prakxo <87568477+Prakxo@users.noreply.github.com> * Review * Update src/overlays/gamestates/ovl_trademark/m_trademark.c Co-authored-by: emilybrooks <emilybrooksemilybrooks@gmail.com> * Update src/overlays/gamestates/ovl_trademark/m_trademark.c Co-authored-by: Prakxo <87568477+Prakxo@users.noreply.github.com> * clang-tidy changes??? * review --------- Co-authored-by: Prakxo <87568477+Prakxo@users.noreply.github.com> Co-authored-by: emilybrooks <emilybrooksemilybrooks@gmail.com>
Diffstat (limited to 'src/code/m_actor_shadow.c')
-rw-r--r--src/code/m_actor_shadow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/m_actor_shadow.c b/src/code/m_actor_shadow.c
index b8c993a..6ddc884 100644
--- a/src/code/m_actor_shadow.c
+++ b/src/code/m_actor_shadow.c
@@ -200,7 +200,7 @@ void mActorShadow_DrawActorShadow(Actor* actor, ShadowInfo* shadow, Game* game,
u8 g;
u8 b;
f32 yAdjust;
- s32 scene = common_data.sceneNo;
+ s32 scene = common_data.save.sceneNo;
mActorShadow_GetLastAlphaScale(&scale, &alpha, actor, shadow);