forked from github/server
fix test_troll_quarrying_bonus
This commit is contained in:
parent
12416e8b0d
commit
2579bf71b5
1 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue