diff options
author | rubidium <rubidium@openttd.org> | 2007-11-15 18:28:00 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-11-15 18:28:00 +0000 |
commit | ecdb16de42874125991b1e770616e46e9c4d24bb (patch) | |
tree | 4bd44853b9e7e9c29ae281bd657c1996f6290daa /src/group_gui.cpp | |
parent | c5a9fd4559bd6858f4f11820e5e994cca1afa2a5 (diff) | |
download | openttd-ecdb16de42874125991b1e770616e46e9c4d24bb.tar.xz |
(svn r11440) -Codechange: replace magic numbers with enumified WindowHighlightMode constants. Patch by SmatZ.
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 c0fccca01..efcb0eb63 100644 --- a/src/group_gui.cpp +++ b/src/group_gui.cpp @@ -554,7 +554,7 @@ static void GroupWndProc(Window *w, WindowEvent *e) gv->vehicle_sel = v->index; if (v->IsValid()) { - SetObjectToPlaceWnd(v->GetImage(DIR_W), GetVehiclePalette(v), 4, w); + SetObjectToPlaceWnd(v->GetImage(DIR_W), GetVehiclePalette(v), VHM_DRAG, w); } SetWindowDirty(w); |