author | frosch |
Sat, 29 Nov 2008 21:27:15 +0000 | |
changeset 10392 | 306d24c840f4 |
parent 10391 | 8c1d42c0818d |
child 10393 | 4441e16edb52 |
src/group_cmd.cpp | file | annotate | diff | comparison | revisions |
--- a/src/group_cmd.cpp Sat Nov 29 18:44:52 2008 +0000 +++ b/src/group_cmd.cpp Sat Nov 29 21:27:15 2008 +0000 @@ -335,6 +335,7 @@ g->replace_protection = HasBit(p2, 0); InvalidateWindowData(GetWindowClassForVehicleType(g->vehicle_type), (g->vehicle_type << 11) | VLW_GROUP_LIST | _current_company); + InvalidateWindowData(WC_REPLACE_VEHICLE, g->vehicle_type); } return CommandCost();