From 1f55797fe3c75ec61ea69e6fa38ca2e4d817d30e Mon Sep 17 00:00:00 2001 From: smatz Date: Tue, 3 Jun 2008 18:35:58 +0000 Subject: (svn r13375) -Add: logging of actions that could possibly cause desyncs and crashes to simplify debugging. See readme.txt for details --- src/rev.cpp.in | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/rev.cpp.in') 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 @@ -22,6 +22,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. -- cgit v1.2.3-54-g00ecf