mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-06 22:30:15 +00:00
Actor struct cleanup (#208)
* cleanup a few things * fix mistake * yawTowardsLink * run format * pr suggestion
This commit is contained in:
parent
06fc61c83d
commit
1c98ac27eb
37 changed files with 292 additions and 303 deletions
|
@ -192,7 +192,7 @@ void func_80B4B010(EnZl1* this, GlobalContext* globalCtx) {
|
|||
func_800F5C64(0x51);
|
||||
} else {
|
||||
if (1) {}; // necessary to match
|
||||
rotDiff = ABS(this->actor.rotTowardsLinkY - this->actor.shape.rot.y);
|
||||
rotDiff = ABS(this->actor.yawTowardsLink - this->actor.shape.rot.y);
|
||||
if (rotDiff < 0x238E) {
|
||||
if (!(player->actor.posRot.pos.y < this->actor.posRot.pos.y)) {
|
||||
func_8002F2F4(this, globalCtx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue