summaryrefslogtreecommitdiff
path: root/src/table/control_codes.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-08-20 21:42:05 +0000
committerfrosch <frosch@openttd.org>2011-08-20 21:42:05 +0000
commit7394bcb813c8f98afe4936254ac72402287c2aec (patch)
treeec9468c33dd0fe9d843e6743e72b04cbb81b2a1c /src/table/control_codes.h
parentca00f98d518b3c778dddf021fc7de960859ee86d (diff)
downloadopenttd-7394bcb813c8f98afe4936254ac72402287c2aec.tar.xz
(svn r22775) -Fix: [NewGRF] Stringcodes 82 and 83 are the same as the date codes in old OpenTTD. (Hirundo)
Diffstat (limited to 'src/table/control_codes.h')
-rw-r--r--src/table/control_codes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/table/control_codes.h b/src/table/control_codes.h
index 73d4a2b91..2c7c9d00a 100644
--- a/src/table/control_codes.h
+++ b/src/table/control_codes.h
@@ -118,8 +118,8 @@ enum StringControlCode {
SCC_NEWGRF_PRINT_UNSIGNED_WORD, ///< Read 2 bytes from the stack as unsigned value
SCC_NEWGRF_PRINT_DWORD_CURRENCY, ///< Read 4 bytes from the stack as currency
SCC_NEWGRF_PRINT_STRING_ID, ///< Read 2 bytes from the stack as String ID
- SCC_NEWGRF_PRINT_DATE, ///< Read 2 bytes from the stack as base 1920 date
- SCC_NEWGRF_PRINT_MONTH_YEAR, ///< Read 2 bytes from the stack as base 1920 date
+ SCC_NEWGRF_PRINT_DATE_LONG, ///< Read 2 bytes from the stack as base 1920 date
+ SCC_NEWGRF_PRINT_DATE_SHORT, ///< Read 2 bytes from the stack as base 1920 date
SCC_NEWGRF_PRINT_WORD_SPEED, ///< Read 2 bytes from the stack as signed speed
SCC_NEWGRF_PRINT_WORD_VOLUME, ///< Read 2 bytes from the stack as signed volume
SCC_NEWGRF_PRINT_WORD_WEIGHT, ///< Read 2 bytes from the stack as signed weight