forked from mirror/OpenTTD
(svn r27167) -Fix: [SDL, Windows] Right-mouse-button scrolling scrolled/jumped way to far, when OpenTTD lagged during mouse event processing.
This commit is contained in:
@@ -138,6 +138,12 @@ struct CursorVars {
|
||||
bool in_window; ///< mouse inside this window, determines drawing logic
|
||||
|
||||
bool vehchain; ///< vehicle chain is dragged
|
||||
|
||||
bool UpdateCursorPosition(int x, int y, bool queued_warp);
|
||||
|
||||
private:
|
||||
bool queued_warp;
|
||||
Point last_position;
|
||||
};
|
||||
|
||||
/** Data about how and where to blit pixels. */
|
||||
|
Reference in New Issue
Block a user