fix test_troll_quarrying_bonus

This commit is contained in:
Enno Rehling 2018-04-29 19:33:39 +02:00
parent 12416e8b0d
commit 2579bf71b5

View file

@ -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) {