Changeset - r17670:dace27472f9e
[Not reviewed]
master
0 1 0
frosch - 13 years ago 2011-05-14 16:01:40
frosch@openttd.org
(svn r22455) -Fix (r22286): x != y
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/newgrf_station.cpp
Show inline comments
 
@@ -114,7 +114,7 @@ uint32 GetPlatformInfo(Axis axis, byte t
 
		x -= platforms / 2;
 
		y -= length / 2;
 
		x = Clamp(x, -8, 7);
 
		y = Clamp(x, -8, 7);
 
		y = Clamp(y, -8, 7);
 
		SB(retval,  0, 4, y & 0xF);
 
		SB(retval,  4, 4, x & 0xF);
 
	} else {
0 comments (0 inline, 0 general)