forked from github/server
simplicate
This commit is contained in:
parent
cda17d5379
commit
59169f3eb1
1 changed files with 1 additions and 2 deletions
|
@ -106,8 +106,7 @@ static int lc_read(struct attrib *a, void *owner, gamedata *data)
|
||||||
building *b = (building *)owner;
|
building *b = (building *)owner;
|
||||||
int result = 0;
|
int result = 0;
|
||||||
if (data->version < ATTRIBOWNER_VERSION) {
|
if (data->version < ATTRIBOWNER_VERSION) {
|
||||||
result = read_reference(&b, data, read_building_reference, resolve_building);
|
READ_INT(data->store, NULL);
|
||||||
assert(b == owner);
|
|
||||||
}
|
}
|
||||||
READ_TOK(store, name, sizeof(name));
|
READ_TOK(store, name, sizeof(name));
|
||||||
if (strcmp(name, "tunnel_action") == 0) {
|
if (strcmp(name, "tunnel_action") == 0) {
|
||||||
|
|
Loading…
Reference in a new issue