int BlockIter::get_exit(const Route *route) const
{
const vector<Block::Endpoint> &eps = _block->get_endpoints();
- if(_block->get_turnout_id())
+ if(_block->get_turnout_address())
{
/* The endpoints of a turnout block exactly correspond to the endpoints
of the track. */