]> git.pond.sub.org Git - empserver/blobdiff - include/plane.h
Store sequence numbers more compactly
[empserver] / include / plane.h
index fa3a3f5dbc4f2fdc6781079835e8a82538472913..e77ee93acef4438ffab683ae145d9d20cd73b850 100644 (file)
@@ -46,9 +46,9 @@
 
 struct plnstr {
     /* initial part must match struct empobj */
-    short ef_type;
+    signed ef_type: 8;
+    unsigned pln_seqno: 12;
     int pln_uid;               /* unit id (plane #) */
-    unsigned pln_seqno;
     time_t pln_timestamp;      /* Last time this plane was touched */
     natid pln_own;             /* owning country */
     coord pln_x;               /* plane x-y */