]> git.pond.sub.org Git - empserver/blobdiff - include/lost.h
Store uids as int to support more sectors and units
[empserver] / include / lost.h
index 1f81eb78dd98faad67d6705c8e1cd9396b82ee5b..63e68d8c5f41f34f169de329cba99429cab36ae9 100644 (file)
 struct loststr {
     /* initial part must match struct empobj */
     short ef_type;
-    short lost_uid;
+    int lost_uid;
     unsigned lost_seqno;
     time_t lost_timestamp;     /* When it was lost */
     natid lost_owner;          /* Who lost it */
     /* end of part matching struct empobj */
     short lost_type;           /* Type of thing (ship, plane, nuke, land, sector) */
-    short lost_id;             /* ID of lost thing */
+    int lost_id;               /* uid of lost thing (0 for sector)*/
     coord lost_x;
     coord lost_y;
 };