(svn r14643) -Fix: Invalidate autoreplace window when toggling 'replace protection'.

pull/155/head
frosch 16 years ago
parent 0b4781a9c7
commit 728e2543a0

@ -335,6 +335,7 @@ CommandCost CmdSetGroupReplaceProtection(TileIndex tile, uint32 flags, uint32 p1
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();

Loading…
Cancel
Save