(svn r10756) -Codechange: use vehicle->IsValid in favour of IsValidVehicle(vehicle).
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user