From ba24c34f8558369cc0802c92963b40ff5c7b0bc2 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 18 May 2007 17:31:41 +0000 Subject: (svn r9869) -Codechange: replace some bytes with VehicleType, i.e. more type strictness. --- src/depot.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/depot.h') 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) -- cgit v1.2.3-54-g00ecf