# HG changeset patch # User rubidium # Date 2008-01-17 02:10:55 # Node ID 0e7d8988b2c74deace53835a2aa54e8986e240d2 # Parent b990d57b47dd07e46d3bdddc5878821ac94abb9b (svn r11889) -Change: small inconsistency between documentation and code. Patch by Yexo. diff --git a/src/openttd.h b/src/openttd.h --- 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,