(svn r6147) -Fix: I don't know how to write Destination :(

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
truelight 18 years ago
parent 6846e38095
commit 3b82b67391

@ -62,9 +62,9 @@ typedef union DestinationID {
uint16 disaster; ///< Please don't ask about it, but disasters uses orders to store stuff...
} DestinationID;
/* All items of DestionationID has to be of the same size, because some part
* of the code depends on the fact that DestionationID is the same for all
* items inside DestionationID. Check PackOrder() */
/* All items of DestinationID has to be of the same size, because some part
* of the code depends on the fact that DestinationID is the same for all
* items inside DestinationID. Check PackOrder() */
assert_compile(sizeof(StationID) == sizeof(DepotID));
assert_compile(sizeof(StationID) == sizeof(WaypointID));
assert_compile(sizeof(StationID) == sizeof(uint16));

Loading…
Cancel
Save