diff options
author | rubidium <rubidium@openttd.org> | 2011-11-04 11:09:06 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-11-04 11:09:06 +0000 |
commit | f01b3e2721a5085b7cbae253e04b46a3338d3f43 (patch) | |
tree | e1057e5205dfca90fc002f5b0f4d92e3400e1573 /src/aircraft_cmd.cpp | |
parent | a72544d5e18a632510c8072b393905473f47bada (diff) | |
download | openttd-f01b3e2721a5085b7cbae253e04b46a3338d3f43.tar.xz |
(svn r23104) -Codechange: prepare the vehicle/sign z for some further changes to reduce casting
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 50793cb1a..ed18682da 100644 --- a/src/aircraft_cmd.cpp +++ b/src/aircraft_cmd.cpp @@ -993,7 +993,7 @@ static bool HandleCrashedAircraft(Aircraft *v) /* make aircraft crash down to the ground */ if (v->crashed_counter < 500 && st == NULL && ((v->crashed_counter % 3) == 0) ) { - uint z = GetSlopePixelZ(v->x_pos, v->y_pos); + int z = GetSlopePixelZ(v->x_pos, v->y_pos); v->z_pos -= 1; if (v->z_pos == z) { v->crashed_counter = 500; |