Changeset - r17848:74c9b345ebd6
[Not reviewed]
master
0 1 0
frosch - 13 years ago 2011-07-10 14:44:41
frosch@openttd.org
(svn r22649) -Fix [FS#4670]: Switching from a red to a white highlight (by switching to another tool) without switching the highlight mode (HT_RECT etc.) did not mark the selection dirty.
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/viewport.cpp
Show inline comments
 
@@ -2859,6 +2859,9 @@ void SetObjectToPlace(CursorID icon, Pal
 
		if (w != NULL) w->OnPlaceObjectAbort();
 
	}
 

	
 
	/* Mark the old selection dirty, in case the selection shape or colour changes */
 
	if ((_thd.drawstyle & HT_DRAG_MASK) != HT_NONE) SetSelectionTilesDirty();
 

	
 
	SetTileSelectSize(1, 1);
 

	
 
	_thd.make_square_red = false;
0 comments (0 inline, 0 general)