Changeset - r1860:b8558cc64171
[Not reviewed]
master
0 1 0
tron - 19 years ago 2005-05-26 19:41:58
tron@openttd.org
(svn r2366) Use SetRedErrorSquare() instead of home brewed version
1 file changed with 1 insertions and 5 deletions:
0 comments (0 inline, 0 general)
misc_gui.c
Show inline comments
 
@@ -496,12 +496,8 @@ static void ErrmsgWndProc(Window *w, Win
 
			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;
 
		}
 

	
0 comments (0 inline, 0 general)