# HG changeset patch # User rubidium # Date 1200535855 0 # Node ID 3999769fa52c6c07d5ebf84692e042283070f11d # Parent 86c6ce890d61f57b9b568055479e5b815a26b6a9 (svn r11889) -Change: small inconsistency between documentation and code. Patch by Yexo. diff -r 86c6ce890d61 -r 3999769fa52c src/openttd.h --- a/src/openttd.h Thu Jan 17 02:10:26 2008 +0000 +++ b/src/openttd.h Thu Jan 17 02:10:55 2008 +0000 @@ -38,9 +38,9 @@ /* 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,