mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-21 06:21:16 +00:00
speedXZ -> speed (#1477)
* speedXZ -> speed * += * revert arg in player function * anon review * engineer review * forgot one * last review * revert decimal
This commit is contained in:
parent
4a9873775c
commit
92e03cf747
171 changed files with 1771 additions and 1773 deletions
|
@ -384,7 +384,7 @@ void EnWood02_Update(Actor* thisx, PlayState* play2) {
|
|||
if (((player->rideActor == NULL) && (sqrt(this->actor.xyzDistToPlayerSq) < 20.0) &&
|
||||
(player->linearVelocity != 0.0f)) ||
|
||||
((player->rideActor != NULL) && (sqrt(this->actor.xyzDistToPlayerSq) < 60.0) &&
|
||||
(player->rideActor->speedXZ != 0.0f))) {
|
||||
(player->rideActor->speed != 0.0f))) {
|
||||
if ((this->unk_14C >= 0) && (this->unk_14C < 0x64)) {
|
||||
Item_DropCollectibleRandom(play, &this->actor, &this->actor.world.pos,
|
||||
((this->unk_14C << 4) | 0x8000));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue