mirror of
https://github.com/zeldaret/oot
synced 2026-08-21 14:37:24 -04: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:
@@ -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
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user