summaryrefslogtreecommitdiff
path: root/include/z64schedule.h
diff options
context:
space:
mode:
authorpetrie911 <69443847+petrie911@users.noreply.github.com>2022-11-05 21:38:22 -0500
committerGitHub <noreply@github.com>2022-11-05 23:38:22 -0300
commitfdae305a0a54b93860e1d2def391c1312f2ea09a (patch)
tree5be95667dcf103acab227ac419a694a8a91a2b73 /include/z64schedule.h
parentba4368d0e8ebaeabf57cd5ae0105afb4f4eee6f8 (diff)
EnTest3 (Kafei) (#1013)
Co-authored-by: petrie911 <69443847+petrie911@users.noreply.github.com> Co-authored-by: Angie <angheloalf95@gmail.com>
Diffstat (limited to 'include/z64schedule.h')
-rw-r--r--include/z64schedule.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/z64schedule.h b/include/z64schedule.h
index 9f48a8762..f3a703f3c 100644
--- a/include/z64schedule.h
+++ b/include/z64schedule.h
@@ -28,7 +28,7 @@
*/
// Macro to convert the time format used in the save struct into the format used in Schedule
-#define SCHEDULE_CONVERT_TIME(time) ((time) - 0x10000 / 360 * 90)
+#define SCHEDULE_CONVERT_TIME(time) ((u16)((time) - 0x10000 / 360 * 90))
#define SCHEDULE_TIME_NOW SCHEDULE_CONVERT_TIME(gSaveContext.save.time)
typedef enum {