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 | dace4686c00d02e9640bc41720d845f097e7591b (patch) | |
tree | 4bd44853b9e7e9c29ae281bd657c1996f6290daa /src/depot_gui.cpp | |
parent | 59a6e40ed215319b6fe1feace41b7f745e28364a (diff) | |
download | openttd-dace4686c00d02e9640bc41720d845f097e7591b.tar.xz |
(svn r11440) -Codechange: replace magic numbers with enumified WindowHighlightMode constants. Patch by SmatZ.
Diffstat (limited to 'src/depot_gui.cpp')
-rw-r--r-- | src/depot_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/depot_gui.cpp b/src/depot_gui.cpp index fb676b5b9..1598186a9 100644 --- a/src/depot_gui.cpp +++ b/src/depot_gui.cpp @@ -436,7 +436,7 @@ static void DepotClick(Window *w, int x, int y) WP(w, depot_d).sel = v->index; SetWindowDirty(w); - SetObjectToPlaceWnd(image, GetVehiclePalette(v), 4, w); + SetObjectToPlaceWnd(image, GetVehiclePalette(v), VHM_DRAG, w); } } break; |