(svn r10756) -Codechange: use vehicle->IsValid in favour of IsValidVehicle(vehicle).

This commit is contained in:
rubidium
2007-08-02 21:19:07 +00:00
parent 032de036dd
commit 99da45988a
6 changed files with 13 additions and 19 deletions

View File

@@ -557,7 +557,7 @@ static void GroupWndProc(Window *w, WindowEvent *e)
gv->vehicle_sel = v->index;
if (IsValidVehicle(v)) {
if (v->IsValid()) {
SetObjectToPlaceWnd(v->GetImage(DIR_W), GetVehiclePalette(v), 4, w);
}