mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-21 14:31:17 +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
|
@ -433,8 +433,8 @@ void EnTa_RunWithAccelerationAndSfx(EnTa* this, PlayState* play) {
|
|||
if (framesMod12 == 0 || framesMod12 == 6) {
|
||||
Actor_PlaySfx(&this->actor, NA_SE_PL_WALK_GROUND + SURFACE_SFX_OFFSET_DIRT);
|
||||
}
|
||||
if (this->actor.speedXZ < 6.0f) {
|
||||
this->actor.speedXZ += 0.4f;
|
||||
if (this->actor.speed < 6.0f) {
|
||||
this->actor.speed += 0.4f;
|
||||
}
|
||||
Actor_MoveForward(&this->actor);
|
||||
}
|
||||
|
@ -651,7 +651,7 @@ void EnTa_TalkFoundSuperCucco(EnTa* this, PlayState* play) {
|
|||
// Make the found cucco fly directly upwards and then forget about it
|
||||
this->superCuccos[lastFoundSuperCuccoIdx]->actor.gravity = 0.1f;
|
||||
this->superCuccos[lastFoundSuperCuccoIdx]->actor.velocity.y = 0.0f;
|
||||
this->superCuccos[lastFoundSuperCuccoIdx]->actor.speedXZ = 0.0f;
|
||||
this->superCuccos[lastFoundSuperCuccoIdx]->actor.speed = 0.0f;
|
||||
this->superCuccos[lastFoundSuperCuccoIdx]->actor.parent = NULL;
|
||||
|
||||
if (player->interactRangeActor == &this->superCuccos[lastFoundSuperCuccoIdx]->actor) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue