Use CURRENT_TIME Macro (#1514)

* use CURRENT_TIME macro

* add comment

* cleanup brackets
This commit is contained in:
engineer124
2023-11-27 20:04:54 +11:00
committed by GitHub
parent 6dd1600936
commit c04aaab6a1
62 changed files with 211 additions and 239 deletions
+1 -1
View File
@@ -2402,7 +2402,7 @@ void Actor_DeactivateLens(PlayState* play) {
void Actor_InitHalfDaysBit(ActorContext* actorCtx) {
s32 halfDayCount = CURRENT_DAY * 2;
if ((gSaveContext.save.time < CLOCK_TIME(6, 0)) || (gSaveContext.save.time > CLOCK_TIME(18, 0))) {
if ((CURRENT_TIME < CLOCK_TIME(6, 0)) || (CURRENT_TIME > CLOCK_TIME(18, 0))) {
halfDayCount++;
}