]> git.pond.sub.org Git - empserver/blobdiff - include/ship.h
Generation numbers to catch write back of stale copies
[empserver] / include / ship.h
index 23cefa1f79e7eca718c2c150f3dd57d301fb122e..c4425b80a366a4be383c91b448b6a53a79d82f5b 100644 (file)
@@ -65,6 +65,7 @@ struct shpstr {
     /* initial part must match struct empobj */
     signed ef_type: 8;
     unsigned shp_seqno: 12;
     /* initial part must match struct empobj */
     signed ef_type: 8;
     unsigned shp_seqno: 12;
+    unsigned shp_generation: 12;
     int shp_uid;               /* unit it (ship #) */
     time_t shp_timestamp;      /* Last time this ship was touched. */
     natid shp_own;             /* owner's country num */
     int shp_uid;               /* unit it (ship #) */
     time_t shp_timestamp;      /* Last time this ship was touched. */
     natid shp_own;             /* owner's country num */