changeset 8324:df59905bdc93 draft

(svn r11889) -Change: small inconsistency between documentation and code. Patch by Yexo.
author rubidium <rubidium@openttd.org>
date Thu, 17 Jan 2008 02:10:55 +0000
parents 803ed468fc77
children 5f33f93ed180
files src/openttd.h
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/openttd.h
+++ b/src/openttd.h
@@ -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,