From 2579bf71b520baf4e843645592638dd18b3401f9 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 29 Apr 2018 19:33:39 +0200 Subject: [PATCH] fix test_troll_quarrying_bonus --- src/exparse.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/exparse.c b/src/exparse.c index 5db7f6b29..7a337b023 100644 --- a/src/exparse.c +++ b/src/exparse.c @@ -422,6 +422,8 @@ static void XMLCALL start_resources(parseinfo *pi, const XML_Char *el, const XML resource_mod * mod = rmods + nrmods; const XML_Char *value = NULL; + mod->race_mask = 0; + mod->btype = NULL; assert(nrmods < RMOD_MAX); ++nrmods; for (i = 0; attr[i]; i += 2) {