author | tron |
Fri, 02 Feb 2007 19:07:20 +0000 | |
changeset 5912 | d06408c8c040 |
parent 5911 | ad1258d35b6e |
child 5913 | 727fc088635a |
--- a/src/roadveh_cmd.cpp Fri Feb 02 18:48:37 2007 +0000 +++ b/src/roadveh_cmd.cpp Fri Feb 02 19:07:20 2007 +0000 @@ -1080,8 +1080,8 @@ bitmask = 0; } else { // proper station type, check if there is free loading bay - const RoadStop *rs = GetRoadStopByTile(tile, rstype); - if (rs == NULL || (!_patches.roadveh_queue && GB(rs->status, 0, 2) == 0)) { + if (!_patches.roadveh_queue && + GB(GetRoadStopByTile(tile, rstype)->status, 0, 2) == 0) { // station is full and RV queuing is off bitmask = 0; }