diff options
author | alberth <alberth@openttd.org> | 2010-02-14 16:31:35 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-02-14 16:31:35 +0000 |
commit | 33a96b5ef32499896accf9b32673455be87afe81 (patch) | |
tree | 85e59b2b8ec679f1131d597a55fdb65687c21a89 /src/aircraft_cmd.cpp | |
parent | ac65c415094b01e2f612e720737a633cd822cde0 (diff) | |
download | openttd-33a96b5ef32499896accf9b32673455be87afe81.tar.xz |
(svn r19132) -Codechange: No need to end a line with ;;.
Diffstat (limited to 'src/aircraft_cmd.cpp')
-rw-r--r-- | src/aircraft_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aircraft_cmd.cpp b/src/aircraft_cmd.cpp index b6e023823..e5be7fe5b 100644 --- a/src/aircraft_cmd.cpp +++ b/src/aircraft_cmd.cpp @@ -619,7 +619,7 @@ void SetAircraftPosition(Aircraft *v, int x, int y, int z) int safe_x = Clamp(x, 0, MapMaxX() * TILE_SIZE); int safe_y = Clamp(y - 1, 0, MapMaxY() * TILE_SIZE); u->x_pos = x; - u->y_pos = y - ((v->z_pos - GetSlopeZ(safe_x, safe_y)) >> 3);; + u->y_pos = y - ((v->z_pos - GetSlopeZ(safe_x, safe_y)) >> 3); safe_y = Clamp(u->y_pos, 0, MapMaxY() * TILE_SIZE); u->z_pos = GetSlopeZ(safe_x, safe_y); |