summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-08-23 21:53:55 +0000
committeryexo <yexo@openttd.org>2010-08-23 21:53:55 +0000
commit09d109a787668e592697db9a9d8d500dc2649fe9 (patch)
tree4f533a18cc2330673134b2da5ef2fa2f6cdbb078 /src
parenta36159614a20c19b78b524e412a69b8a6f1abaa2 (diff)
downloadopenttd-09d109a787668e592697db9a9d8d500dc2649fe9.tar.xz
(svn r20602) -Change (r20601): use DFLT instead of DEFA as name for the default field
Diffstat (limited to 'src')
-rw-r--r--src/newgrf.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index 30df408b2..7b2edda0e 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -6183,7 +6183,7 @@ static bool ChangeGRFParamMask(size_t len, ByteReader *buf)
return true;
}
-/** Callback function for 'INFO'->'PARAM'->param_num->'DEFA' to set the default value. */
+/** Callback function for 'INFO'->'PARAM'->param_num->'DFLT' to set the default value. */
static bool ChangeGRFParamDefault(size_t len, ByteReader *buf)
{
if (len != 4) {
@@ -6322,7 +6322,7 @@ AllowedSubtags _tags_parameters[] = {
AllowedSubtags('LIMI', ChangeGRFParamLimits),
AllowedSubtags('MASK', ChangeGRFParamMask),
AllowedSubtags('VALU', ChangeGRFParamValueNames),
- AllowedSubtags('DEFA', ChangeGRFParamDefault),
+ AllowedSubtags('DFLT', ChangeGRFParamDefault),
AllowedSubtags()
};