dashdan / freerct

Automatically exported from code.google.com/p/freerct
0 stars 0 forks source link

Assertion in viewport.cpp when scrolling down #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Choose path building or landscaping tool
2. Move the viewport down over the map edge.
3. It chrashes the moment the bottom corner (brown part, level 0) should become 
visible in the game window.

What is the expected output? What do you see instead?
It should scroll a bit more and then stop, like on the other edges.
Instead, program crashes with message:
freerct: viewport.cpp:666: uint8 Viewport::GetMaxCursorHeight(uint16, uint16, 
uint8): Assertion `zpos != 255' failed.
Aborted

What version of the product are you using? On what operating system?
FreeRCT-r594 on gentoo linux 3.2.12

Original issue reported on code.google.com by mkr...@gmail.com on 8 Dec 2012 at 9:19

GoogleCodeExporter commented 9 years ago
Fixed in r597; thanks for the report.

Original comment by Alberth2...@gmail.com on 9 Dec 2012 at 10:14