File diff r18942:9f835e6d0ca2 → r18943:3e25b87ea626
src/newgrf_config.cpp
Show inline comments
 
@@ -185,14 +185,13 @@ GRFError::GRFError(StringID severity, St
 
 */
 
GRFError::GRFError(const GRFError &error) :
 
	ZeroedMemoryAllocator(),
 
	custom_message(error.custom_message),
 
	data(error.data),
 
	message(error.message),
 
	severity(error.severity),
 
	num_params(error.num_params)
 
	severity(error.severity)
 
{
 
	if (error.custom_message != NULL) this->custom_message = strdup(error.custom_message);
 
	if (error.data           != NULL) this->data           = strdup(error.data);
 
	memcpy(this->param_value, error.param_value, sizeof(this->param_value));
 
}