mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-20 22:11:16 +00:00
Fix RaycastFloor flags (#1328)
* fix raycast floor flags * format.sh * Name flags * Rename RaycastFloor functions, clean up caller code, document z_bg_spot15_rrbox * change comment to prevent format wrap * change to "if BGCHECK_GROUND_CHECK_ON is set" * roman suggestions
This commit is contained in:
parent
fe8d5988b9
commit
327a813b37
42 changed files with 497 additions and 451 deletions
|
@ -1209,9 +1209,9 @@ void func_80A04D90(EnElf* this, PlayState* play) {
|
|||
s32 pad;
|
||||
s32 bgId;
|
||||
|
||||
this->actor.floorHeight = BgCheck_EntityRaycastFloor5(play, &play->colCtx, &this->actor.floorPoly, &bgId,
|
||||
&this->actor, &this->actor.world.pos);
|
||||
this->actor.shape.shadowAlpha = 0x32;
|
||||
this->actor.floorHeight = BgCheck_EntityRaycastDown5(play, &play->colCtx, &this->actor.floorPoly, &bgId,
|
||||
&this->actor, &this->actor.world.pos);
|
||||
this->actor.shape.shadowAlpha = 50;
|
||||
}
|
||||
|
||||
// move to talk to player
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue