forked from github/server
do not delayed-resolve regions
This commit is contained in:
parent
25b5f797e9
commit
a2fe396b68
1 changed files with 1 additions and 1 deletions
|
@ -1274,7 +1274,7 @@ int read_region_reference(gamedata * data, region **rp)
|
||||||
READ_INT(store, &id);
|
READ_INT(store, &id);
|
||||||
*rp = findregionbyid(id);
|
*rp = findregionbyid(id);
|
||||||
if (*rp == NULL) {
|
if (*rp == NULL) {
|
||||||
ur_add(RESOLVE_REGION | id, (void **)rp, NULL);
|
*rp = region_create(id);
|
||||||
}
|
}
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue