File diff r2951:a52cbb930051 → r2952:e97f823d2dbe
rail_gui.c
Show inline comments
 
@@ -141,7 +141,7 @@ void CcStation(bool success, TileIndex t
 

	
 
static void PlaceRail_Station(TileIndex tile)
 
{
 
	if(_remove_button_clicked)
 
	if (_remove_button_clicked)
 
		DoCommandP(tile, 0, 0, CcPlaySound1E, CMD_REMOVE_FROM_RAILROAD_STATION | CMD_MSG(STR_CANT_REMOVE_PART_OF_STATION));
 
	else if (_railstation.dragdrop) {
 
		VpStartPlaceSizing(tile, VPM_X_AND_Y_LIMITED);
 
@@ -631,7 +631,7 @@ static void StationBuildWndProc(Window *
 
			int x = _railstation.numtracks;
 
			int y = _railstation.platlength;
 
			if (_railstation.orientation == 0) intswap(x,y);
 
			if(!_remove_button_clicked)
 
			if (!_remove_button_clicked)
 
				SetTileSelectSize(x, y);
 
		}
 

	
 
@@ -768,7 +768,7 @@ static void ShowStationBuilder(void)
 

	
 
static void BuildTrainDepotWndProc(Window *w, WindowEvent *e)
 
{
 
	switch(e->event) {
 
	switch (e->event) {
 
	case WE_PAINT: {
 
		RailType r;