active_path = (active_path&2) | (state ? 1 : 0);
else if(type.is_double_address() && addr==turnout_id+1)
active_path = (active_path&1) | (state ? 2 : 0);
active_path = (active_path&2) | (state ? 1 : 0);
else if(type.is_double_address() && addr==turnout_id+1)
active_path = (active_path&1) | (state ? 2 : 0);