equal
deleted
inserted
replaced
373 FOR_ALL_STATIONS(st) { |
373 FOR_ALL_STATIONS(st) { |
374 UpdateStationVirtCoord(st); |
374 UpdateStationVirtCoord(st); |
375 } |
375 } |
376 } |
376 } |
377 |
377 |
378 // Update the station virt coords while making the modified parts dirty. |
378 /** |
|
379 * Update the station virt coords while making the modified parts dirty. |
|
380 * |
|
381 * This function updates the virt coords and mark the modified parts as dirty |
|
382 * |
|
383 * @param st The station to update the virt coords |
|
384 * @ingroup dirty |
|
385 */ |
379 static void UpdateStationVirtCoordDirty(Station *st) |
386 static void UpdateStationVirtCoordDirty(Station *st) |
380 { |
387 { |
381 st->MarkDirty(); |
388 st->MarkDirty(); |
382 UpdateStationVirtCoord(st); |
389 UpdateStationVirtCoord(st); |
383 st->MarkDirty(); |
390 st->MarkDirty(); |