Changeset - r16865:6305883267a2
[Not reviewed]
master
0 4 0
alberth - 14 years ago 2010-12-23 14:38:01
alberth@openttd.org
(svn r21609) -Fix (r21545,r21552,r21580,r21586): Restore diagonal clearing of areas.
4 files changed with 4 insertions and 4 deletions:
0 comments (0 inline, 0 general)
src/airport_gui.cpp
Show inline comments
 
@@ -96,7 +96,7 @@ struct BuildAirToolbarWindow : Window {
 
				break;
 

	
 
			case ATW_DEMOLISH:
 
				HandlePlacePushButton(this, ATW_DEMOLISH, ANIMCURSOR_DEMOLISH, HT_RECT, NULL);
 
				HandlePlacePushButton(this, ATW_DEMOLISH, ANIMCURSOR_DEMOLISH, HT_RECT | HT_DIAGONAL, NULL);
 
				this->last_user_action = widget;
 
				break;
 

	
src/dock_gui.cpp
Show inline comments
 
@@ -142,7 +142,7 @@ struct BuildDocksToolbarWindow : Window 
 
				break;
 

	
 
			case DTW_DEMOLISH: // Demolish aka dynamite button
 
				HandlePlacePushButton(this, DTW_DEMOLISH, ANIMCURSOR_DEMOLISH, HT_RECT, NULL);
 
				HandlePlacePushButton(this, DTW_DEMOLISH, ANIMCURSOR_DEMOLISH, HT_RECT | HT_DIAGONAL, NULL);
 
				break;
 

	
 
			case DTW_DEPOT: // Build depot button
src/rail_gui.cpp
Show inline comments
 
@@ -540,7 +540,7 @@ struct BuildRailToolbarWindow : Window {
 
				break;
 

	
 
			case RTW_DEMOLISH:
 
				HandlePlacePushButton(this, RTW_DEMOLISH, ANIMCURSOR_DEMOLISH, HT_RECT, NULL);
 
				HandlePlacePushButton(this, RTW_DEMOLISH, ANIMCURSOR_DEMOLISH, HT_RECT | HT_DIAGONAL, NULL);
 
				this->last_user_action = widget;
 
				break;
 

	
src/road_gui.cpp
Show inline comments
 
@@ -401,7 +401,7 @@ struct BuildRoadToolbarWindow : Window {
 
				break;
 

	
 
			case RTW_DEMOLISH:
 
				HandlePlacePushButton(this, RTW_DEMOLISH, ANIMCURSOR_DEMOLISH, HT_RECT, NULL);
 
				HandlePlacePushButton(this, RTW_DEMOLISH, ANIMCURSOR_DEMOLISH, HT_RECT | HT_DIAGONAL, NULL);
 
				this->last_started_action = widget;
 
				break;
 

	
0 comments (0 inline, 0 general)