diff options
author | glx <glx@openttd.org> | 2020-05-05 18:36:27 +0200 |
---|---|---|
committer | Charles Pigott <charlespigott@googlemail.com> | 2020-05-06 09:54:36 +0100 |
commit | e0d20a44d248d646a5379a8074f1aaff38bc6b09 (patch) | |
tree | 6fe447f3cef486ed7eaecf5e778e442af37bdda6 /src/rev.cpp.in | |
parent | e1c85e67a71493aa65e54717f847d21d66593e23 (diff) | |
download | openttd-e0d20a44d248d646a5379a8074f1aaff38bc6b09.tar.xz |
Codechange: Use a dynamic copyright year
Diffstat (limited to 'src/rev.cpp.in')
-rw-r--r-- | src/rev.cpp.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rev.cpp.in b/src/rev.cpp.in index 48b29f349..3f5b126dc 100644 --- a/src/rev.cpp.in +++ b/src/rev.cpp.in @@ -51,6 +51,11 @@ const char _openttd_build_date[] = __DATE__ " " __TIME__; const char _openttd_revision_hash[] = "!!GITHASH!!"; /** + * The year of this version. + */ +const char _openttd_revision_year[] = "!!YEAR!!"; + +/** * Let us know if current build was modified. This detection * works even in the case when revision string is overridden by * --revision argument. |