]> git.pond.sub.org Git - empserver/commitdiff
(xundump): Precise value for need_sentinel.
authorMarkus Armbruster <armbru@pond.sub.org>
Wed, 8 Feb 2006 22:02:13 +0000 (22:02 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Wed, 8 Feb 2006 22:02:13 +0000 (22:02 +0000)
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;