diff options
author | celestar <celestar@openttd.org> | 2007-02-14 12:00:43 +0000 |
---|---|---|
committer | celestar <celestar@openttd.org> | 2007-02-14 12:00:43 +0000 |
commit | 39b73119cabcaa793856b441461fd77e37c491ef (patch) | |
tree | 18be145537f2035cff4e0cf2f83ce25badf167ff /src/aircraft_cmd.cpp | |
parent | 59a814c6d321dcc53cc6d855501062ade8f035f7 (diff) | |
download | openttd-39b73119cabcaa793856b441461fd77e37c491ef.tar.xz |
(svn r8733) -Fix(r8705): Forgot to change some more places where airport blocks are stored
Diffstat (limited to 'src/aircraft_cmd.cpp')
-rw-r--r-- | src/aircraft_cmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/aircraft_cmd.cpp b/src/aircraft_cmd.cpp index 7ff79b500..a41ac1326 100644 --- a/src/aircraft_cmd.cpp +++ b/src/aircraft_cmd.cpp @@ -1838,7 +1838,7 @@ static bool AirportHasBlock(Vehicle *v, const AirportFTA *current_pos, const Air // same block, then of course we can move if (apc->layout[current_pos->position].block != next->block) { const Station *st = GetStation(v->u.air.targetairport); - uint32 airport_flags = next->block; + uint64 airport_flags = next->block; // check additional possible extra blocks if (current_pos != reference && current_pos->block != NOTHING_block) { @@ -1862,7 +1862,7 @@ static bool AirportSetBlocks(Vehicle *v, AirportFTA *current_pos, const AirportF // if the next position is in another block, check it and wait until it is free if ((apc->layout[current_pos->position].block & next->block) != next->block) { - uint32 airport_flags = next->block; + uint64 airport_flags = next->block; Station* st = GetStation(v->u.air.targetairport); //search for all all elements in the list with the same state, and blocks != N // this means more blocks should be checked/set |