1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 20:43:04 +01:00

Fixed bug causing crash

This commit is contained in:
Duncan Frost
2014-07-20 13:16:47 +01:00
parent 4562327e0f
commit 5bbfc35565

View File

@@ -291,7 +291,7 @@ void viewport_paint(rct_viewport* viewport, rct_drawpixelinfo* dpi, int left, in
top >>= viewport->zoom;
x >>= viewport->zoom;
x = (viewport->view_x + viewport->view_width) - x;
x = (dpi->width + dpi->pitch) - x;
RCT2_GLOBAL(0x9AC124, uint16) = x;
left += viewport->x;