* Unpacks a order from savegames with version 4 and lower * @param packed packed order * @return unpacked order */
| 83 | * @return unpacked order |
| 84 | */ |
| 85 | static Order UnpackVersion4Order(uint16_t packed) |
| 86 | { |
| 87 | return Order(GB(packed, 0, 4), GB(packed, 4, 4), GB(packed, 8, 8)); |
| 88 | } |
| 89 | |
| 90 | /** |
| 91 | * Unpacks a order from savegames made with TTD(Patch) |
no test coverage detected