summaryrefslogtreecommitdiff
path: root/src/vehicle.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-01-15 15:00:01 +0000
committersmatz <smatz@openttd.org>2008-01-15 15:00:01 +0000
commit245f05a7cc3b333387da0d31b7f797bebf0720fb (patch)
tree3fac3a5889143b62cffcafd37b2c29c84ae62f39 /src/vehicle.cpp
parent932c586dfe3713e27b86286fafeea56b2958fa15 (diff)
downloadopenttd-245f05a7cc3b333387da0d31b7f797bebf0720fb.tar.xz
(svn r11864) -Codechange: pass owner whose signals we will update instead of complex detection later
Diffstat (limited to 'src/vehicle.cpp')
-rw-r--r--src/vehicle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp
index facd6e517..b27c768f2 100644
--- a/src/vehicle.cpp
+++ b/src/vehicle.cpp
@@ -2178,7 +2178,7 @@ void VehicleEnterDepot(Vehicle *v)
case VEH_TRAIN:
InvalidateWindowClasses(WC_TRAINS_LIST);
if (!IsFrontEngine(v)) v = v->First();
- UpdateSignalsOnSegment(v->tile, INVALID_DIAGDIR);
+ UpdateSignalsOnSegment(v->tile, INVALID_DIAGDIR, v->owner);
v->load_unload_time_rem = 0;
break;