From a835a4b4d3ca7387d5b4a33623e0cc1f26e44684 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sun, 4 Jun 2006 09:01:51 +0000 Subject: [PATCH] Fix the previous revision. --- src/lib/common/xundump.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/common/xundump.c b/src/lib/common/xundump.c index 58eb3609..81caabc6 100644 --- a/src/lib/common/xundump.c +++ b/src/lib/common/xundump.c @@ -759,6 +759,9 @@ xundump(FILE *fp, char *file, int expected_table) if (CANT_HAPPEN(!ca)) return -1; + if (!EF_IS_GAME_STATE(type) && !empfile[type].file) + initialized[type] = 1; + nca = nf = 0; for (i = 0; ca[i].ca_name; i++) { nca++;