diff options
author | rubidium <rubidium@openttd.org> | 2007-05-18 17:31:41 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-05-18 17:31:41 +0000 |
commit | ba24c34f8558369cc0802c92963b40ff5c7b0bc2 (patch) | |
tree | 3eac526253ee6111911b7ea868ca46065b6d5889 /src/depot.h | |
parent | 2196abd71d687564597a0d4f6f9defc8679ba87b (diff) | |
download | openttd-ba24c34f8558369cc0802c92963b40ff5c7b0bc2.tar.xz |
(svn r9869) -Codechange: replace some bytes with VehicleType, i.e. more type strictness.
Diffstat (limited to 'src/depot.h')
-rw-r--r-- | src/depot.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/depot.h b/src/depot.h index 49ed1465e..300423ad7 100644 --- a/src/depot.h +++ b/src/depot.h @@ -42,7 +42,7 @@ static inline void DeleteDepot(Depot *depot) depot->xy = 0; } -void ShowDepotWindow(TileIndex tile, byte type); +void ShowDepotWindow(TileIndex tile, VehicleType type); #define FOR_ALL_DEPOTS_FROM(d, start) for (d = GetDepot(start); d != NULL; d = (d->index + 1U < GetDepotPoolSize()) ? GetDepot(d->index + 1U) : NULL) if (IsValidDepot(d)) #define FOR_ALL_DEPOTS(d) FOR_ALL_DEPOTS_FROM(d, 0) |