From 08c01e64b87d810477e75bedba58eed88f555bde Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 17 Jan 2008 02:10:55 +0000 Subject: (svn r11889) -Change: small inconsistency between documentation and code. Patch by Yexo. --- src/openttd.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/openttd.h b/src/openttd.h index edc9d4339..092a0e20b 100644 --- a/src/openttd.h +++ b/src/openttd.h @@ -38,9 +38,9 @@ typedef uint16 DestinationID; /* DestinationID must be at least as large as every these below, because it can * be any of them */ -assert_compile(sizeof(DestinationID) == sizeof(DepotID)); -assert_compile(sizeof(DestinationID) == sizeof(WaypointID)); -assert_compile(sizeof(DestinationID) == sizeof(StationID)); +assert_compile(sizeof(DestinationID) >= sizeof(DepotID)); +assert_compile(sizeof(DestinationID) >= sizeof(WaypointID)); +assert_compile(sizeof(DestinationID) >= sizeof(StationID)); enum GameModes { GM_MENU, -- cgit v1.2.3-70-g09d2