misc_gui.c
changeset 172 8d8b3383470d
parent 155 81e9878f3678
child 176 84990c4b9212
equal deleted inserted replaced
171:29854f28b90b 172:8d8b3383470d
   455 		break;
   455 		break;
   456 	case WE_DESTROY: {
   456 	case WE_DESTROY: {
   457 		TileHighlightData *thd = _thd_ptr;
   457 		TileHighlightData *thd = _thd_ptr;
   458 		TileIndex tile = thd->redsq;
   458 		TileIndex tile = thd->redsq;
   459 		thd->redsq = 0;
   459 		thd->redsq = 0;
       
   460 		_switch_mode_errorstr = INVALID_STRING_ID;
   460 		if (tile != 0)
   461 		if (tile != 0)
   461 			MarkTileDirtyByTile(tile);
   462 			MarkTileDirtyByTile(tile);
   462 		break;
   463 		break;
   463 		}
   464 		}
   464 
   465