Fix regression in last commit

This commit is contained in:
duncanspumpkin 2015-11-06 19:13:29 +00:00
parent 31ab7c8b98
commit 6493c83efc
1 changed files with 3 additions and 1 deletions

View File

@ -336,8 +336,10 @@ void sub_6E7FF3(rct_window *window, rct_viewport *viewport, int x, int y)
viewport->x + viewport->width <= window->x ||
viewport->x >= window->x + window->width ||
viewport->y + viewport->height <= window->y ||
viewport->y >= window->y + window->height)
viewport->y >= window->y + window->height){
sub_6E7FF3(window + 1, viewport, x, y);
return;
}
// save viewport
rct_viewport view_copy;