summaryrefslogtreecommitdiff
path: root/src/roadveh_cmd.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-06-07 20:38:16 +0000
committerfrosch <frosch@openttd.org>2010-06-07 20:38:16 +0000
commit6b88c1c5cdb6cb0cbdfa440b5a39153a80b68486 (patch)
tree08c53b94c6e0a440f179db4408245e96b424c318 /src/roadveh_cmd.cpp
parent7de069af3bf4e61760d7d741e7f821f0eff5cdc0 (diff)
downloadopenttd-6b88c1c5cdb6cb0cbdfa440b5a39153a80b68486.tar.xz
(svn r19945) -Fix (r19755-ish): Allow turning of roadvehicles while waiting in a queue (again).
Diffstat (limited to 'src/roadveh_cmd.cpp')
-rw-r--r--src/roadveh_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/roadveh_cmd.cpp b/src/roadveh_cmd.cpp
index f8afb7178..390ee11f3 100644
--- a/src/roadveh_cmd.cpp
+++ b/src/roadveh_cmd.cpp
@@ -422,7 +422,7 @@ CommandCost CmdTurnRoadVeh(TileIndex tile, DoCommandFlag flags, uint32 p1, uint3
v->overtaking != 0 ||
v->state == RVSB_WORMHOLE ||
v->IsInDepot() ||
- v->cur_speed < 5) {
+ v->current_order.IsType(OT_LOADING)) {
return CMD_ERROR;
}