]> git.pond.sub.org Git - empserver/blobdiff - include/game.h
Store sequence numbers more compactly
[empserver] / include / game.h
index a465d2ae19303bc30390423f138565e16f75ba8f..a58d1bdb884b3e35a7b50c51d6567bc62d7d1e88 100644 (file)
@@ -38,9 +38,9 @@
 
 struct gamestr {
     /* initial part must match struct empobj */
-    short ef_type;
+    signed ef_type: 8;
+    unsigned game_seqno: 12;
     int game_uid;
-    unsigned game_seqno;
     time_t game_timestamp;
     /* end of part matching struct empobj */
     char game_upd_disable;     /* updates disabled? */