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

pull/155/head
tron 19 years ago
parent e383ee6bba
commit ceb7f17808

@ -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;
}

Loading…
Cancel
Save