(svn r21943) -Codechange: document and unmagicify some bits of road vehicle overtaking

This commit is contained in:
rubidium
2011-02-02 21:56:56 +00:00
parent 5ffb43353e
commit ca487f998b
2 changed files with 6 additions and 5 deletions

View File

@@ -775,11 +775,10 @@ static void RoadVehCheckOvertake(RoadVehicle *v, RoadVehicle *u)
if (od.u->cur_speed == 0 || (od.u->vehstatus & VS_STOPPED)) {
v->overtaking_ctr = 0x11;
v->overtaking = 0x10;
v->overtaking = RVSB_DRIVE_SIDE;
} else {
// if (CheckRoadBlockedForOvertaking(&od)) return;
v->overtaking_ctr = 0;
v->overtaking = 0x10;
v->overtaking = RVSB_DRIVE_SIDE;
}
}