mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-22 15:01:17 +00:00
Rename yDistToWater -> depthInWater (#1950)
* Rename yDistToWater -> yDistUnderWater * yDistUnderWater -> depthInWater
This commit is contained in:
parent
d4d7512cb6
commit
b86e1774cf
26 changed files with 112 additions and 112 deletions
|
@ -314,7 +314,7 @@ void EnMk_Update(Actor* thisx, PlayState* play) {
|
|||
if (player->currentBoots == PLAYER_BOOTS_IRON) {
|
||||
this->flags |= 8;
|
||||
} else if (player->stateFlags2 & PLAYER_STATE2_10) {
|
||||
swimFlag = player->actor.yDistToWater;
|
||||
swimFlag = player->actor.depthInWater;
|
||||
|
||||
if (swimFlag > 0) {
|
||||
if (swimFlag >= 320) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue