if(of==null || !(of.obj instanceof adt)) return;
// get data
adt obj = (adt)of.obj;
waterHeightDialog a=new waterHeightDialog(null);
float height=a.heightval;
for(int i=0;i<256;i++){
if(!obj.mcnk[i].mclq.isempty){
obj.mcnk[i].mclq.altitude=height;
obj.mcnk[i].mclq.baseheight=height;