diff options
author | smatz <smatz@openttd.org> | 2008-06-03 18:35:58 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-06-03 18:35:58 +0000 |
commit | c7a9637834a96722be5a524c4c1e8932a45e3461 (patch) | |
tree | 72b7d141fd63dcb880f610a334390bf9c41f97b1 /src/rev.cpp.in | |
parent | d58f0558761079552c4c607707dd131a2c5e5397 (diff) | |
download | openttd-c7a9637834a96722be5a524c4c1e8932a45e3461.tar.xz |
(svn r13375) -Add: logging of actions that could possibly cause desyncs and crashes to simplify debugging. See readme.txt for details
Diffstat (limited to 'src/rev.cpp.in')
-rw-r--r-- | src/rev.cpp.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/rev.cpp.in b/src/rev.cpp.in index 458f92e86..bae5c6085 100644 --- a/src/rev.cpp.in +++ b/src/rev.cpp.in @@ -23,6 +23,16 @@ const char _openttd_revision[] = "@@VERSION@@"; /** + * Let us know if current build was modified. This detection + * works even in the case when revision string is overriden by + * --revision argument. + * Value 0 means no modification, 1 is for unknown state + * (compiling from sources without any version control software) + * and 2 is for modified revision. + */ +const byte _openttd_revision_modified = @@MODIFIED@@; + +/** * The NewGRF revision of OTTD: * bits meaning. * 28-31 major version |