File diff r16921:7d29032aa4a4 → r16922:7350d0102cc1
src/viewport.cpp
Show inline comments
 
@@ -2008,6 +2008,17 @@ static HighLightStyle GetAutorailHT(int 
 
}
 

	
 
/**
 
 * Reset tile highlighting.
 
 */
 
void TileHighlightData::Reset()
 
{
 
	this->pos.x = 0;
 
	this->pos.y = 0;
 
	this->new_pos.x = 0;
 
	this->new_pos.y = 0;
 
}
 

	
 
/**
 
 * Is the user dragging a 'diagonal rectangle'?
 
 * @return User is dragging a rotated rectangle.
 
 */