summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlunarsoap5 <justindakotacarter@gmail.com>2021-11-13 13:56:23 -0600
committerlunarsoap5 <justindakotacarter@gmail.com>2021-11-13 13:56:23 -0600
commit03a14361dc1d748dd2db3df96b29dcca3e9ca1af (patch)
tree05fb9080b15c56891783aadd6138b0fc591f8f0a
parentde4c80f6967f1b47f5c6deb17bc764050d0bc956 (diff)
Fixed issue with Midna ToD change in Bulblin camp causing a softlock.HEADstable
-rw-r--r--source/mod.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/mod.cpp b/source/mod.cpp
index 2d28095..3b55e97 100644
--- a/source/mod.cpp
+++ b/source/mod.cpp
@@ -661,7 +661,7 @@ hudConsole->addWatch(page, "throw:", &throwResult, 'x', WatchInterpretation::_u1
condition = tp::d_a_alink::dComIfGs_isEventBit( 0xb40 ); // Escaped Burning Tent in Bublin Camp
if ( condition != false )
{
- if ( ( gameInfo.localAreaNodes.unk_0[0xB] & 0x10 ) == 0 )
+ if (tp::d_kankyo::env_light.currentRoom == 3)
{
chosenLayer = 0x1;
}