1
0
mirror of https://github.com/zeldaret/oot.git synced 2024-09-21 04:24:43 +00:00

actually add the comment (#885)

This commit is contained in:
louist103 2021-08-22 12:47:38 -04:00 committed by GitHub
parent 75b2804f72
commit e53081df9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -219,6 +219,8 @@ void EnBomChu_WaitForRelease(EnBomChu* this, GlobalContext* globalCtx) {
this->unk_16C.z = Math_CosS(this->actor.shape.rot.y + 0x4000);
this->actor.speedXZ = 8.0f;
//! @bug there is no NULL check on the floor poly. If the player is out of bounds the floor poly will be NULL
//! and will cause a crash inside this function.
func_809C5BA8(this, this->actor.floorPoly, globalCtx);
this->actor.flags |= 1; // make chu targetable
func_8002F850(globalCtx, &this->actor);