mirror of
https://github.com/zeldaret/mm.git
synced 2026-09-03 01:53:58 -04:00
Use CURRENT_TIME Macro (#1514)
* use CURRENT_TIME macro * add comment * cleanup brackets
This commit is contained in:
+1
-1
@@ -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++;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user