(svn r6368) -Fix [FS#136]: Station catchment area persists after switching tools. The

correct fix was to reset the highlight box if any size changes (grimrc)
This commit is contained in:
Darkvater
2006-09-03 22:39:02 +00:00
parent 5cd58a448d
commit 7369122a3e
2 changed files with 4 additions and 6 deletions

View File

@@ -1894,7 +1894,9 @@ void UpdateTileSelection(void)
// redraw selection
if (_thd.drawstyle != _thd.new_drawstyle ||
_thd.pos.x != _thd.new_pos.x || _thd.pos.y != _thd.new_pos.y ||
_thd.size.x != _thd.new_size.x || _thd.size.y != _thd.new_size.y) {
_thd.size.x != _thd.new_size.x || _thd.size.y != _thd.new_size.y ||
_thd.outersize.x != _thd.new_outersize.x ||
_thd.outersize.y != _thd.new_outersize.y) {
// clear the old selection?
if (_thd.drawstyle) SetSelectionTilesDirty();