summaryrefslogtreecommitdiff
path: root/src/rail.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2009-12-15 13:59:20 +0000
committerpeter1138 <peter1138@openttd.org>2009-12-15 13:59:20 +0000
commit7b136d1fddbb2d0840076dfe2ddbe666b29fee8d (patch)
tree4586a6a930aad8f3891247f1f43cb4f6fcb819c5 /src/rail.h
parent7c2a61e2107eb5bd3d680128c1eea22650f70bdf (diff)
downloadopenttd-7b136d1fddbb2d0840076dfe2ddbe666b29fee8d.tar.xz
(svn r18509) -Codechange (r2515,r2753): Data for drawing single_x/y rail pieces was inverted.
Diffstat (limited to 'src/rail.h')
-rw-r--r--src/rail.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rail.h b/src/rail.h
index 06445d558..69038c205 100644
--- a/src/rail.h
+++ b/src/rail.h
@@ -54,8 +54,8 @@ struct RailtypeInfo {
SpriteID track_y; ///< single piece of rail in Y direction, with ground
SpriteID track_ns; ///< two pieces of rail in North and South corner (East-West direction)
SpriteID ground; ///< ground sprite for a 3-way switch
+ SpriteID single_x; ///< single piece of rail in X direction, without ground
SpriteID single_y; ///< single piece of rail in Y direction, without ground
- SpriteID single_x; ///< single piece of rail in X direction
SpriteID single_n; ///< single piece of rail in the northern corner
SpriteID single_s; ///< single piece of rail in the southern corner
SpriteID single_e; ///< single piece of rail in the eastern corner