diff options
author | rubidium <rubidium@openttd.org> | 2008-01-17 02:10:55 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-01-17 02:10:55 +0000 |
commit | 08c01e64b87d810477e75bedba58eed88f555bde (patch) | |
tree | b1b9ce456d130907cb760255f76fef9e268a0cf3 /src | |
parent | 3d61a1adc51000d7769de19bf2fc142b0d014f93 (diff) | |
download | openttd-08c01e64b87d810477e75bedba58eed88f555bde.tar.xz |
(svn r11889) -Change: small inconsistency between documentation and code. Patch by Yexo.
Diffstat (limited to 'src')
-rw-r--r-- | src/openttd.h | 6 |
1 files changed, 3 insertions, 3 deletions
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, |