Rename event_07 to periodic_update. (#8684)

This commit is contained in:
Aaron van Geffen authored and GitHub committed 2019-02-07 17:46:52 +01:00
1 parent b249b0e0b6
commit 3be6137fde
5 files changed
+14 -13

No files matched your search

+4 -4
View File
@@ -140,7 +140,7 @@ void window_update_all()
for (auto it = g_window_list.rbegin(); it != g_window_list.rend(); it++)
{
auto w = it->get();
window_event_unknown_07_call(w);
window_event_periodic_update_call(w);
}
}
@@ -1468,10 +1468,10 @@ void window_event_update_call(rct_window* w)
w->event_handlers->update(w);
}
void window_event_unknown_07_call(rct_window* w)
void window_event_periodic_update_call(rct_window* w)
{
if (w->event_handlers->unknown_07 != nullptr)
w->event_handlers->unknown_07(w);
if (w->event_handlers->periodic_update != nullptr)
w->event_handlers->periodic_update(w);
}
void window_event_unknown_08_call(rct_window* w)