mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-21 06:21:16 +00:00
Cleanup player speed and yaw variable names (#1480)
* initial changes * add comments
This commit is contained in:
parent
e77b83cf1b
commit
b4c97ce17e
15 changed files with 341 additions and 340 deletions
|
@ -382,7 +382,7 @@ void EnWood02_Update(Actor* thisx, PlayState* play2) {
|
|||
|
||||
if (this->unk_14C >= -1) {
|
||||
if (((player->rideActor == NULL) && (sqrt(this->actor.xyzDistToPlayerSq) < 20.0) &&
|
||||
(player->linearVelocity != 0.0f)) ||
|
||||
(player->speedXZ != 0.0f)) ||
|
||||
((player->rideActor != NULL) && (sqrt(this->actor.xyzDistToPlayerSq) < 60.0) &&
|
||||
(player->rideActor->speed != 0.0f))) {
|
||||
if ((this->unk_14C >= 0) && (this->unk_14C < 0x64)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue