mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r22455) -Fix (r22286): x != y
This commit is contained in:
parent
20e86fd5ea
commit
3183cb7907
@ -114,7 +114,7 @@ uint32 GetPlatformInfo(Axis axis, byte tile, int platforms, int length, int x, i
|
||||
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user