(svn r11440) -Codechange: replace magic numbers with enumified WindowHighlightMode constants. Patch by SmatZ.

This commit is contained in:
rubidium
2007-11-15 18:28:00 +00:00
parent 59a6e40ed2
commit dace4686c0
16 changed files with 60 additions and 57 deletions

View File

@@ -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;