1
0
Fork 0
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:
louist103 2021-09-12 07:02:45 -04:00 committed by GitHub
parent 90c841c435
commit e31e35658d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 12 additions and 11 deletions

View file

@ -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;

View file

@ -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
}
/**