diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-07-27 22:45:16 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-07-27 22:45:16 -0400 |
| commit | 7a308968256a70604af6dd6af77dfe1dc314e37e (patch) | |
| tree | 4d48a393924676b4dd4c3e2615384a202fcff713 /src/d/actor/d_a_npc_btsw2.cpp | |
| parent | 5a3911cfed03c9815457caf31f6282d9baa61324 (diff) | |
Add day/night enum
Diffstat (limited to 'src/d/actor/d_a_npc_btsw2.cpp')
| -rw-r--r-- | src/d/actor/d_a_npc_btsw2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/actor/d_a_npc_btsw2.cpp b/src/d/actor/d_a_npc_btsw2.cpp index a214247d..d1079921 100644 --- a/src/d/actor/d_a_npc_btsw2.cpp +++ b/src/d/actor/d_a_npc_btsw2.cpp @@ -283,7 +283,7 @@ u32 daNpc_Btsw2_c::getMsg() { if (!dComIfGs_isEventBit(0x3102)) { dComIfGs_onEventBit(0x3102); msgNo = 0x1AB0; - } else if (dKy_daynight_check()) { + } else if (dKy_daynight_check() != dKy_TIME_DAY_e) { msgNo = 0x1AB2; } else { msgNo = 0x1AB1; |
