summaryrefslogtreecommitdiff
path: root/src/gfx_type.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-07-20 19:21:18 +0000
committerrubidium <rubidium@openttd.org>2008-07-20 19:21:18 +0000
commitfec49bcc83b2f5f813feee136382cbe367486e92 (patch)
tree6fcf8a160a5a544d096084931b801439776c3b40 /src/gfx_type.h
parent690859bf570094d1d59f6e1e3b7009d64bc022d7 (diff)
downloadopenttd-fec49bcc83b2f5f813feee136382cbe367486e92.tar.xz
(svn r13759) -Fix [FS#2147]: selecting non-full length vehicles in the depot gui would place the "mouse pointer" out of the center of the vehicle making it hard to "aim".
Diffstat (limited to 'src/gfx_type.h')
-rw-r--r--src/gfx_type.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gfx_type.h b/src/gfx_type.h
index 983b95205..4d5a3654a 100644
--- a/src/gfx_type.h
+++ b/src/gfx_type.h
@@ -113,6 +113,7 @@ struct AnimCursor {
struct CursorVars {
Point pos, size, offs, delta; ///< position, size, offset from top-left, and movement
Point draw_pos, draw_size; ///< position and size bounding-box for drawing
+ int short_vehicle_offset; ///< offset of the X for short vehicles
SpriteID sprite; ///< current image of cursor
SpriteID pal;