src/station_cmd.cpp
changeset 8041 63e760418a15
parent 8035 a0200ced6d9f
child 8078 bdf94bf88568
equal deleted inserted replaced
8040:0dc804071c29 8041:63e760418a15
   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();