mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-13 11:24:40 +00:00
Fix return UB (#958)
* Ydan_SP * func_8002D7EC * Gameplay_ChangeCameraStatus * Graph_InitTHGA * CollisioCheck_LineOC * Fix more in camera and jpeg * revert comment in player
This commit is contained in:
parent
90c841c435
commit
e31e35658d
9 changed files with 12 additions and 11 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue