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
|
@ -154,9 +154,9 @@ void func_8097CC08(DemoGo* this) {
|
|||
f32 something = this->unk_19C;
|
||||
|
||||
if (something < 8.0f) {
|
||||
this->actor.speedXZ = (((kREG(15) * 0.01f) + 1.2f) / 8.0f) * something;
|
||||
this->actor.speed = (((kREG(15) * 0.01f) + 1.2f) / 8.0f) * something;
|
||||
} else {
|
||||
this->actor.speedXZ = (kREG(15) * 0.01f) + 1.2f;
|
||||
this->actor.speed = (kREG(15) * 0.01f) + 1.2f;
|
||||
}
|
||||
Actor_MoveForward(&this->actor);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue