]> git.pond.sub.org Git - empserver/blobdiff - src/lib/common/xundump.c
(xundump): Precise value for need_sentinel.
[empserver] / src / lib / common / xundump.c
index a79a05d1a604ae4e0135aa7e29fec7532d92b76e..b9fccfdd1283f946c05d008df003281fe6f1ecc2 100644 (file)
@@ -732,7 +732,7 @@ xundump(FILE *fp, char *file, int expected_table)
     
     ep = &empfile[type];
     fixed_rows = has_const(ef_cadef(type));
-    need_sentinel = !fixed_rows; /* FIXME only approximation */
+    need_sentinel = !EF_IS_GAME_STATE(type);
 
     if (xucolumnheader(fp, type, values) == -1)
        return -1;