mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-23 07:21:19 +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
|
@ -452,7 +452,7 @@ void EnBombf_Update(Actor* thisx, PlayState* play) {
|
|||
}
|
||||
|
||||
if ((thisx->scale.x >= 0.01f) && (thisx->params != BOMBFLOWER_EXPLOSION)) {
|
||||
if (thisx->yDistToWater >= 20.0f) {
|
||||
if (thisx->depthInWater >= 20.0f) {
|
||||
EffectSsDeadSound_SpawnStationary(play, &thisx->projectedPos, NA_SE_IT_BOMB_UNEXPLOSION, true,
|
||||
DEADSOUND_REPEAT_MODE_OFF, 10);
|
||||
Actor_Kill(thisx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue