summaryrefslogtreecommitdiff
path: root/src/newgrf_config.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-05-04 11:23:21 +0000
committerfrosch <frosch@openttd.org>2009-05-04 11:23:21 +0000
commitddd47a056d9abc2760181dd4083b605164e6b4cb (patch)
treea4a63d343de314a5f2713768525ebf4e509d5c34 /src/newgrf_config.h
parent21f5f602f9487c248d545487f40a539a35e698e9 (diff)
downloadopenttd-ddd47a056d9abc2760181dd4083b605164e6b4cb.tar.xz
(svn r16223) -Fix (r8881): ActionB should use the online parameters from GRFFile instead of the initial user-specified values from GRFConfig. Also use the values as they were set when the ActionB was executed, not as they are set when the message is shown.
Diffstat (limited to 'src/newgrf_config.h')
-rw-r--r--src/newgrf_config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newgrf_config.h b/src/newgrf_config.h
index aba8dc330..9f0e7efd5 100644
--- a/src/newgrf_config.h
+++ b/src/newgrf_config.h
@@ -53,8 +53,8 @@ struct GRFError {
char *data; ///< Additional data for message and custom_message
StringID message; ///< Default message
StringID severity; ///< Info / Warning / Error / Fatal
- uint8 num_params; ///< Number of additinal parameters for custom_message (0, 1 or 2)
- uint8 param_number[2]; ///< GRF parameters to show for custom_message
+ uint8 num_params; ///< Number of additinal parameters for message and custom_message (0, 1 or 2)
+ uint32 param_value[2]; ///< Values of GRF parameters to show for message and custom_message
};
/** Information about GRF, used in the game and (part of it) in savegames */