mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-10 17:00:19 +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
|
@ -132,8 +132,8 @@ void EffectSsGSpk_Update(PlayState* play, u32 index, EffectSs* this) {
|
|||
void EffectSsGSpk_UpdateNoAccel(PlayState* play, u32 index, EffectSs* this) {
|
||||
if (this->actor != NULL) {
|
||||
if ((this->actor->category == ACTORCAT_EXPLOSIVE) && (this->actor->update != NULL)) {
|
||||
this->pos.x += (Math_SinS(this->actor->world.rot.y) * this->actor->speedXZ);
|
||||
this->pos.z += (Math_CosS(this->actor->world.rot.y) * this->actor->speedXZ);
|
||||
this->pos.x += (Math_SinS(this->actor->world.rot.y) * this->actor->speed);
|
||||
this->pos.z += (Math_CosS(this->actor->world.rot.y) * this->actor->speed);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue