summaryrefslogtreecommitdiff
path: root/src/time_events.c
diff options
context:
space:
mode:
authorSlawter666 <38655737+Slawter666@users.noreply.github.com>2018-10-17 01:11:44 +0100
committerSlawter666 <38655737+Slawter666@users.noreply.github.com>2018-10-17 01:11:44 +0100
commit1435c96b41049da3a05ed97d9a07b355aacbac4f (patch)
tree72b638cae542fc16c9785656f3335ff8de00b1ba /src/time_events.c
parent3aff112127ddb67882bfce31d046eb886e0aa2c1 (diff)
Further synchronisation
Diffstat (limited to 'src/time_events.c')
-rw-r--r--src/time_events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/time_events.c b/src/time_events.c
index 1f46e7705..9702d321f 100644
--- a/src/time_events.c
+++ b/src/time_events.c
@@ -81,7 +81,7 @@ void UpdateShoalTideFlag(void)
1, // 23
};
- if (is_map_type_1_2_3_5_or_6(get_map_light_from_warp0()))
+ if (is_map_type_1_2_3_5_or_6(GetLastUsedWarpMapType()))
{
RtcCalcLocalTime();
if (tide[gLocalTime.hours])