1
0
Fork 0

(svn r2366) Use SetRedErrorSquare() instead of home brewed version

release/0.4.5
tron 2005-05-26 19:41:58 +00:00
parent d90948abb7
commit 6566941077
1 changed files with 1 additions and 5 deletions

View File

@ -496,12 +496,8 @@ static void ErrmsgWndProc(Window *w, WindowEvent *e)
DeleteWindow(w);
break;
case WE_DESTROY: {
TileHighlightData *thd = _thd_ptr;
TileIndex tile = thd->redsq;
thd->redsq = 0;
SetRedErrorSquare(0);
_switch_mode_errorstr = INVALID_STRING_ID;
if (tile != 0)
MarkTileDirtyByTile(tile);
break;
}