(svn r12576) -Feature(tte) [FS#337]: highlight vehicle chain when dragging in the group and depot GUI if appropriate

This commit is contained in:
smatz
2008-04-05 11:27:50 +00:00
parent bdd64495cd
commit b2e4adc2b8
5 changed files with 32 additions and 3 deletions

View File

@@ -575,6 +575,7 @@ static void GroupWndProc(Window *w, WindowEvent *e)
if (v->IsValid()) {
SetObjectToPlaceWnd(v->GetImage(DIR_W), GetVehiclePalette(v), VHM_DRAG, w);
_cursor.vehchain = true;
}
SetWindowDirty(w);
@@ -687,6 +688,7 @@ static void GroupWndProc(Window *w, WindowEvent *e)
break;
}
}
_cursor.vehchain = false;
break;
}