diff options
| author | louist103 <35883445+louist103@users.noreply.github.com> | 2021-09-12 07:02:45 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-12 13:02:45 +0200 |
| commit | e31e35658dd08e9f983eef8aef0e239ecd603333 (patch) | |
| tree | 860251b0e12df6da711197463c3b3f145db73ab4 /src/code/z_play.c | |
| parent | 90c841c435463dc4601b371e2d19d7a6f7da4bac (diff) | |
Fix return UB (#958)
* Ydan_SP
* func_8002D7EC
* Gameplay_ChangeCameraStatus
* Graph_InitTHGA
* CollisioCheck_LineOC
* Fix more in camera and jpeg
* revert comment in player
Diffstat (limited to 'src/code/z_play.c')
| -rw-r--r-- | src/code/z_play.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_play.c b/src/code/z_play.c index 8b1332227..52f72c83d 100644 --- a/src/code/z_play.c +++ b/src/code/z_play.c @@ -1533,7 +1533,7 @@ s16 Gameplay_ChangeCameraStatus(GlobalContext* globalCtx, s16 camId, s16 status) globalCtx->activeCamera = camIdx; } - Camera_ChangeStatus(globalCtx->cameraPtrs[camIdx], status); + return Camera_ChangeStatus(globalCtx->cameraPtrs[camIdx], status); } void Gameplay_ClearCamera(GlobalContext* globalCtx, s16 camId) { |
