mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r6147) -Fix: I don't know how to write Destination :(
This commit is contained in:
parent
4adf627551
commit
8dcae588e8
@ -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…
Reference in New Issue
Block a user