summaryrefslogtreecommitdiff
path: root/src/newgrf_config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/newgrf_config.cpp')
-rw-r--r--src/newgrf_config.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/newgrf_config.cpp b/src/newgrf_config.cpp
index 9ce75b679..f644315f1 100644
--- a/src/newgrf_config.cpp
+++ b/src/newgrf_config.cpp
@@ -188,8 +188,7 @@ GRFError::GRFError(const GRFError &error) :
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);