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
|
@ -326,7 +326,7 @@ s32 EnZl4_SetupFromLegendCs(EnZl4* this, PlayState* play) {
|
|||
playerx->world.pos.x += 56.0f * Math_SinS(rotY);
|
||||
playerx->world.pos.z += 56.0f * Math_CosS(rotY);
|
||||
|
||||
player->linearVelocity = playerx->speedXZ = 0.0f;
|
||||
player->linearVelocity = playerx->speed = 0.0f;
|
||||
|
||||
EnZl4_SetActiveCamMove(play, 5);
|
||||
Letterbox_SetSizeTarget(32);
|
||||
|
@ -437,7 +437,7 @@ s32 EnZl4_CsWaitForPlayer(EnZl4* this, PlayState* play) {
|
|||
rotY = this->actor.shape.rot.y;
|
||||
playerx->world.pos.x += 56.0f * Math_SinS(rotY);
|
||||
playerx->world.pos.z += 56.0f * Math_CosS(rotY);
|
||||
playerx->speedXZ = 0.0f;
|
||||
playerx->speed = 0.0f;
|
||||
player->linearVelocity = 0.0f;
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue