diff options
Diffstat (limited to 'roadveh_cmd.c')
-rw-r--r-- | roadveh_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roadveh_cmd.c b/roadveh_cmd.c index ee9f9cec1..b276b34ae 100644 --- a/roadveh_cmd.c +++ b/roadveh_cmd.c @@ -878,7 +878,7 @@ static void* EnumFindVehToOvertake(Vehicle* v, void* data) const OvertakeData* od = data; return - v->tile == od->tile && v->type == VEH_Road && v == od->u && v == od->v ? + v->tile == od->tile && v->type == VEH_Road && v != od->u && v != od->v ? v : NULL; } |