1
0
Fork 0
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:
fig02 2023-01-02 06:15:48 -05:00 committed by GitHub
parent e77b83cf1b
commit b4c97ce17e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 341 additions and 340 deletions

View file

@ -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)) {