Only show ship is lost messages if lost for a significant time

This commit is contained in:
Jonathan G Rennison
2020-09-07 18:24:49 +01:00
parent 8824130b66
commit ff12051ee1
6 changed files with 26 additions and 4 deletions

View File

@@ -840,6 +840,7 @@ const SaveLoad *GetVehicleDescription(VehicleType vt)
SLE_VAR(Ship, state, SLE_UINT8),
SLE_CONDDEQUE(Ship, path, SLE_UINT8, SLV_SHIP_PATH_CACHE, SL_MAX_VERSION),
SLE_CONDVAR(Ship, rotation, SLE_UINT8, SLV_SHIP_ROTATION, SL_MAX_VERSION),
SLE_CONDVAR_X(Ship, lost_count, SLE_UINT8, SL_MIN_VERSION, SL_MAX_VERSION, SlXvFeatureTest(XSLFTO_AND, XSLFI_SHIP_LOST_COUNTER)),
SLE_CONDNULL(16, SLV_2, SLV_144), // old reserved space