Tidy Window.cpp

This commit is contained in:
Daniel Karandikar 2021-03-22 18:59:54 +00:00
parent 1551389bf5
commit 4c1d35478c
1 changed files with 1 additions and 1 deletions

View File

@ -1564,7 +1564,7 @@ void window_event_viewport_rotate_call(rct_window* w)
{
if (w->event_handlers == nullptr)
w->OnViewportRotate();
if (w->event_handlers != nullptr)
else if (w->event_handlers != nullptr)
if (w->event_handlers->viewport_rotate != nullptr)
w->event_handlers->viewport_rotate(w);
}