Changeset - r10392:1272a9df6a2f
[Not reviewed]
master
0 1 0
frosch - 16 years ago 2008-11-29 21:27:15
frosch@openttd.org
(svn r14643) -Fix: Invalidate autoreplace window when toggling 'replace protection'.
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/group_cmd.cpp
Show inline comments
 
@@ -335,6 +335,7 @@ CommandCost CmdSetGroupReplaceProtection
 
		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();
0 comments (0 inline, 0 general)