1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-23 15:52:55 +01:00

Rename event_07 to periodic_update. (#8684)

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

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)