diff options
author | rubidium <rubidium@openttd.org> | 2007-08-02 21:19:07 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-08-02 21:19:07 +0000 |
commit | b15c0efaa951425d74e8a9ca4104da72a81fe50c (patch) | |
tree | c9214850b82261724c3e006bdb90aae810fb06bb /src/group_gui.cpp | |
parent | db374f600c319f0d230cf5f84e120ea06b5fa41e (diff) | |
download | openttd-b15c0efaa951425d74e8a9ca4104da72a81fe50c.tar.xz |
(svn r10756) -Codechange: use vehicle->IsValid in favour of IsValidVehicle(vehicle).
Diffstat (limited to 'src/group_gui.cpp')
-rw-r--r-- | src/group_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/group_gui.cpp b/src/group_gui.cpp index 179845f6b..95708ed3a 100644 --- a/src/group_gui.cpp +++ b/src/group_gui.cpp @@ -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); } |