diff options
author | rubidium <rubidium@openttd.org> | 2011-02-02 21:56:56 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-02-02 21:56:56 +0000 |
commit | 8118f745752b893c5c6088103bb3de53260d12f5 (patch) | |
tree | d77709391559b12b4c1282a60286c1c5cf777c98 /src/roadveh_cmd.cpp | |
parent | 54161949d1f02a39dfe68812acda81b12d6940e8 (diff) | |
download | openttd-8118f745752b893c5c6088103bb3de53260d12f5.tar.xz |
(svn r21943) -Codechange: document and unmagicify some bits of road vehicle overtaking
Diffstat (limited to 'src/roadveh_cmd.cpp')
-rw-r--r-- | src/roadveh_cmd.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/roadveh_cmd.cpp b/src/roadveh_cmd.cpp index 2390a8fba..cf33c9c9d 100644 --- a/src/roadveh_cmd.cpp +++ b/src/roadveh_cmd.cpp @@ -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; } } |