Skip to content

Commit 5965cc1

Browse files
committed
Hookified
1 parent faefe36 commit 5965cc1

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

soh/soh/Enhancements/mods.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -934,7 +934,6 @@ void Register3DPreRenderedScenes() {
934934
gPlayState->envCtx.skyboxDisabled = false;
935935

936936
// Replace skybox with normal sky
937-
Player* player = GET_PLAYER(gPlayState);
938937
gPlayState->skyboxId = SKYBOX_NORMAL_SKY;
939938
// Apply the always cloudy skybox as an adult for Temple of Time and the Market
940939
if (LINK_IS_ADULT && sceneNum == SCENE_TEMPLE_OF_TIME_EXTERIOR_RUINS || sceneNum == SCENE_MARKET_RUINS ||

soh/soh/z_scene_otr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ extern "C" s32 OTRfunc_800973FC(PlayState* play, RoomContext* roomCtx) {
472472
gSegments[3] = VIRTUAL_TO_PHYSICAL(roomCtx->unk_34);
473473

474474
OTRScene_ExecuteCommands(play, (SOH::Scene*)roomCtx->roomToLoad);
475-
if (CVarGetInteger(CVAR_SETTING("3DSceneRender"), 0)) {
475+
if (!CVarGetInteger(CVAR_SETTING("3DSceneRender"), 0)) {
476476
play->envCtx.skyboxDisabled = false;
477477
}
478478
Player_SetBootData(play, GET_PLAYER(play));

0 commit comments

Comments
 (0)