(svn r2496) -Fix: [1179933] When toggling build/remove via keyboard the selection wasn't correctly redrawn

This commit is contained in:
tron
2005-06-29 08:14:09 +00:00
parent a45b6278d1
commit 6e72d514b7
4 changed files with 13 additions and 4 deletions

View File

@@ -1486,6 +1486,13 @@ static void SetSelectionTilesDirty(void)
}
void SetSelectionRed(bool b)
{
_thd.make_square_red = b;
SetSelectionTilesDirty();
}
static bool CheckClickOnTown(ViewPort *vp, int x, int y)
{
Town *t;