mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-17 13:24:45 +00:00
Rename RoomBehaviorType2 (#2270)
* Rename RoomBehavior2 * fig proposal * fig comment
This commit is contained in:
parent
44460eeaec
commit
eee7ba9bd5
5 changed files with 24 additions and 23 deletions
|
@ -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))) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue