1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 00:03:11 +01:00

fix #1662, consistent location sign

This commit is contained in:
IntelOrca
2015-07-23 18:38:43 +01:00
parent 43b657730e
commit 1662b18a7e
9 changed files with 17 additions and 18 deletions

View File

@@ -1379,7 +1379,7 @@ void window_rotate_camera(rct_window *w, int direction)
// other != viewport probably triggers on viewports in ride or guest window?
// x is 0x8000 if middle of viewport is obstructed by another window?
if (x == (sint16)SPRITE_LOCATION_NULL || other != viewport){
if (x == SPRITE_LOCATION_NULL || other != viewport) {
x = (viewport->view_width >> 1) + viewport->view_x;
y = (viewport->view_height >> 1) + viewport->view_y;