equal
deleted
inserted
replaced
149 i = (-1) ^ (1 << _opt_ptr->road_side); // disable the other value |
149 i = (-1) ^ (1 << _opt_ptr->road_side); // disable the other value |
150 |
150 |
151 ShowDropDownMenu(w, _driveside_dropdown, _opt_ptr->road_side, 11, i, 0); |
151 ShowDropDownMenu(w, _driveside_dropdown, _opt_ptr->road_side, 11, i, 0); |
152 } return; |
152 } return; |
153 case 13: case 14: { /* Setup townname dropdown */ |
153 case 13: case 14: { /* Setup townname dropdown */ |
154 uint sel; |
154 uint sel = 0; |
155 for (uint i = 0; i < lengthof(_town_names) - 1; i++) { |
155 for (uint i = 0; i < lengthof(_town_names) - 1; i++) { |
156 if (_town_names[i] == STR_TOWNNAME_ORIGINAL_ENGLISH + _opt_ptr->town_name) { |
156 if (_town_names[i] == STR_TOWNNAME_ORIGINAL_ENGLISH + _opt_ptr->town_name) { |
157 sel = i; |
157 sel = i; |
158 break; |
158 break; |
159 } |
159 } |