mirror of
https://github.com/zeldaret/oot.git
synced 2024-09-21 12:54:51 +00:00
actually add the comment (#885)
This commit is contained in:
parent
75b2804f72
commit
e53081df9a
@ -219,6 +219,8 @@ void EnBomChu_WaitForRelease(EnBomChu* this, GlobalContext* globalCtx) {
|
|||||||
this->unk_16C.z = Math_CosS(this->actor.shape.rot.y + 0x4000);
|
this->unk_16C.z = Math_CosS(this->actor.shape.rot.y + 0x4000);
|
||||||
|
|
||||||
this->actor.speedXZ = 8.0f;
|
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);
|
func_809C5BA8(this, this->actor.floorPoly, globalCtx);
|
||||||
this->actor.flags |= 1; // make chu targetable
|
this->actor.flags |= 1; // make chu targetable
|
||||||
func_8002F850(globalCtx, &this->actor);
|
func_8002F850(globalCtx, &this->actor);
|
||||||
|
Loading…
Reference in New Issue
Block a user