]> git.pond.sub.org Git - empserver/blobdiff - include/land.h
Store sequence numbers more compactly
[empserver] / include / land.h
index 91d9f01c38e80a0892ba9f2b63e3e616c3442f48..5b1fb707954641194e0410bf41bfc1e4f1163519 100644 (file)
@@ -49,9 +49,9 @@
 
 struct lndstr {
     /* initial part must match struct empobj */
-    short ef_type;
+    signed ef_type: 8;
+    unsigned lnd_seqno: 12;
     int lnd_uid;               /* unit id (land #) */
-    unsigned lnd_seqno;
     time_t lnd_timestamp;      /* Last time this unit was touched */
     natid lnd_own;             /* owner's country num */
     coord lnd_x;               /* x location in abs coords */