summaryrefslogtreecommitdiff
path: root/src/train_gui.cpp
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2009-11-07 21:41:41 +0000
committerpeter1138 <peter1138@openttd.org>2009-11-07 21:41:41 +0000
commit723c19571f8ca64f2d495abef42f5ccc29dbe35a (patch)
tree45473996870b7525ef2adb388b264b656a9c343b /src/train_gui.cpp
parent98d24c34e66c43e95ed5d6e21d9e5f3475b49e62 (diff)
downloadopenttd-723c19571f8ca64f2d495abef42f5ccc29dbe35a.tar.xz
(svn r18001) -Codechange: [SDL] When the mouse cursor is locked into position when scrolling a viewport, warp the mouse pointer to the centre of the window. This gives maximum freedom of movement. The pointer position is restored when the lock is removed. Visually the mouse cursor stays where it was.
Diffstat (limited to 'src/train_gui.cpp')
0 files changed, 0 insertions, 0 deletions