mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-03 22:44:30 +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
|
@ -153,7 +153,7 @@ void BgYdanSp_Destroy(Actor* thisx, GlobalContext* globalCtx) {
|
|||
Collider_DestroyTris(globalCtx, &this->trisCollider);
|
||||
}
|
||||
|
||||
void* BgYdanSp_UpdateFloorWebCollision(BgYdanSp* this) {
|
||||
void BgYdanSp_UpdateFloorWebCollision(BgYdanSp* this) {
|
||||
s16 newY;
|
||||
CollisionHeader* colHeader;
|
||||
|
||||
|
|
|
@ -566,7 +566,7 @@ s32 EnSt_DecrStunTimer(EnSt* this) {
|
|||
if (this->stunTimer == 0) {
|
||||
return 0;
|
||||
}
|
||||
this->stunTimer--; //! @bug ? no return but v0 ends up being stunTimer before decrement
|
||||
this->stunTimer--; //! @bug no return but v0 ends up being stunTimer before decrement
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue