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
Still showing a cursor when close to a border while dragging a train.
Actual result
When you drag a train close to a border, it disappears.
For the normal cursor, x=0,y=0 is the top/left part of the cursor. When dragging trains, it is not (the cursor is in the middle of the sprite). So the game tries the draw the mouse from x=-5,y=10, for example, which in result means it is not drawn at all for OpenGL.
Steps to reproduce
Build a train
Drag it to the edges of the screen
On the top and/or left border, it disappears when getting close
The text was updated successfully, but these errors were encountered:
michicc
added a commit
to michicc/OpenTTD
that referenced
this issue
Feb 28, 2021
Version of OpenTTD
4fd2eec
Expected result
Still showing a cursor when close to a border while dragging a train.
Actual result
When you drag a train close to a border, it disappears.
For the normal cursor, x=0,y=0 is the top/left part of the cursor. When dragging trains, it is not (the cursor is in the middle of the sprite). So the game tries the draw the mouse from x=-5,y=10, for example, which in result means it is not drawn at all for OpenGL.
Steps to reproduce
The text was updated successfully, but these errors were encountered: