File diff r25565:6a5de7df7ea1 → r25566:1f8274202421
src/script/api/script_group.cpp
Show inline comments
 
@@ -118,7 +118,7 @@
 
{
 
	if (HasWagonRemoval() == enable_removal) return true;
 

	
 
	return ScriptObject::DoCommand(0, ::GetCompanySettingIndex("company.renew_keep_length"), enable_removal ? 1 : 0, CMD_CHANGE_COMPANY_SETTING);
 
	return ScriptObject::DoCommand(0, 0, enable_removal ? 1 : 0, CMD_CHANGE_COMPANY_SETTING, "company.renew_keep_length");
 
}
 

	
 
/* static */ bool ScriptGroup::HasWagonRemoval()