diff options
author | frosch <frosch@openttd.org> | 2012-01-15 17:33:35 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-01-15 17:33:35 +0000 |
commit | 92700c12625e273297ac5f3e3e870b9ed5d047ab (patch) | |
tree | 6a9b0c7d2032f822d9259b87919cbec7f0b03b40 /src/newgrf_config.cpp | |
parent | 1dc8de17e061dc7d076fb4ae9c1248277937fce8 (diff) | |
download | openttd-92700c12625e273297ac5f3e3e870b9ed5d047ab.tar.xz |
(svn r23807) -Codechange: GRFError::num_params is not needed, remove it.
Diffstat (limited to 'src/newgrf_config.cpp')
-rw-r--r-- | src/newgrf_config.cpp | 3 |
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); |