equal
deleted
inserted
replaced
776 tpf->dest = dest; |
776 tpf->dest = dest; |
777 tpf->userdata = data; |
777 tpf->userdata = data; |
778 tpf->enum_proc = enum_proc; |
778 tpf->enum_proc = enum_proc; |
779 tpf->tracktype = TRANSPORT_RAIL; |
779 tpf->tracktype = TRANSPORT_RAIL; |
780 tpf->railtypes = railtypes; |
780 tpf->railtypes = railtypes; |
781 tpf->maxlength = min(_settings.pf.opf.pf_maxlength * 3, 10000); |
781 tpf->maxlength = min(_settings_game.pf.opf.pf_maxlength * 3, 10000); |
782 tpf->nstack = 0; |
782 tpf->nstack = 0; |
783 tpf->new_link = tpf->links; |
783 tpf->new_link = tpf->links; |
784 tpf->num_links_left = lengthof(tpf->links); |
784 tpf->num_links_left = lengthof(tpf->links); |
785 memset(tpf->hash_head, 0, sizeof(tpf->hash_head)); |
785 memset(tpf->hash_head, 0, sizeof(tpf->hash_head)); |
786 |
786 |