simplicate

This commit is contained in:
Enno Rehling 2017-09-21 17:26:37 +02:00
parent cda17d5379
commit 59169f3eb1

View file

@ -106,8 +106,7 @@ static int lc_read(struct attrib *a, void *owner, gamedata *data)
building *b = (building *)owner;
int result = 0;
if (data->version < ATTRIBOWNER_VERSION) {
result = read_reference(&b, data, read_building_reference, resolve_building);
assert(b == owner);
READ_INT(data->store, NULL);
}
READ_TOK(store, name, sizeof(name));
if (strcmp(name, "tunnel_action") == 0) {