You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My guess is that the code above checks whether the center tile is outside of the scroll block area.
I suspect that the bug is somewhere in the _tile_set_border function. Specifically, this part looks suspicious as the windowWidth parameter is not used anywhere:
The problem is in the tileFromScreenXY() function which relies on the _tile_offx and _tile_offy variables. These are in turn calculated from gTileWindowWidth (= real window width) and gTileWindowHeight (= real window height).
It seems to happen only on larger maps such as arcaves.map and broken1.map and not the smaller ones such as artemple.map or desert1.map .
When loading certain maps the
tileSetCenter
function fails and returns -1 on the following check:fallout2-ce/src/tile.cc
Lines 508 to 512 in 0c61f74
My guess is that the code above checks whether the center tile is outside of the scroll block area.
I suspect that the bug is somewhere in the
_tile_set_border
function. Specifically, this part looks suspicious as thewindowWidth
parameter is not used anywhere:fallout2-ce/src/tile.cc
Lines 402 to 405 in 0c61f74
The text was updated successfully, but these errors were encountered: