diff options
| author | mzxrules <mzxrules@gmail.com> | 2024-10-12 22:28:55 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-12 22:28:55 -0400 |
| commit | eee7ba9bd574631c58837a92463e0a4d6a28cae6 (patch) | |
| tree | 1e65385f3308b8c269e7ace37b6dd30e8ce9cbb4 /src/code/z_player_lib.c | |
| parent | 44460eeaec1824f4e361e1e243c06862cbf4f8c8 (diff) | |
Rename RoomBehaviorType2 (#2270)
* Rename RoomBehavior2
* fig proposal
* fig comment
Diffstat (limited to 'src/code/z_player_lib.c')
| -rw-r--r-- | src/code/z_player_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_player_lib.c b/src/code/z_player_lib.c index 1699dd200..5c0318064 100644 --- a/src/code/z_player_lib.c +++ b/src/code/z_player_lib.c @@ -928,7 +928,7 @@ s32 Player_GetEnvironmentalHazard(PlayState* play) { EnvHazardTextTriggerEntry* triggerEntry; s32 envHazard; - if (play->roomCtx.curRoom.behaviorType2 == ROOM_BEHAVIOR_TYPE2_3) { // Room is hot + if (play->roomCtx.curRoom.environmentType == ROOM_ENV_HOT) { // Room is hot envHazard = PLAYER_ENV_HAZARD_HOTROOM - 1; } else if ((this->underwaterTimer > 80) && ((this->currentBoots == PLAYER_BOOTS_IRON) || (this->underwaterTimer >= 300))) { |
