ToggleOneWayNess matching
This commit is contained in:
parent
4c75798d1a
commit
697bda321f
|
|
@ -4710,10 +4710,10 @@ void ToggleOneWayNess(void) {
|
|||
if (distance > 10.f) {
|
||||
NewTextHeadupSlot(eHeadupSlot_misc, 0, 2000, -1, "Can't find any sections close enough");
|
||||
} else {
|
||||
if (gProgram_state.AI_vehicles.path_sections[section_no].one_way) {
|
||||
gProgram_state.AI_vehicles.path_sections[section_no].one_way = 0;
|
||||
} else {
|
||||
if (!gProgram_state.AI_vehicles.path_sections[section_no].one_way) {
|
||||
gProgram_state.AI_vehicles.path_sections[section_no].one_way = 1;
|
||||
} else {
|
||||
gProgram_state.AI_vehicles.path_sections[section_no].one_way = 0;
|
||||
}
|
||||
ShowOppoPaths();
|
||||
if (gProgram_state.AI_vehicles.path_sections[section_no].one_way) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue