Mercurial > hg > openttd
diff src/vehicle.cpp @ 8300:ae1baac75172 draft
(svn r11864) -Codechange: pass owner whose signals we will update instead of complex detection later
author | smatz <smatz@openttd.org> |
---|---|
date | Tue, 15 Jan 2008 15:00:01 +0000 (2008-01-15) |
parents | 5613b863190d |
children | 56a9dfa21fe7 |
line wrap: on
line diff
--- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -2178,7 +2178,7 @@ 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;