src/rev.cpp.in
branchnoai
changeset 10829 8a0ec0f0f928
parent 10455 22c441f5adf9
--- a/src/rev.cpp.in	Mon Jun 02 01:46:03 2008 +0000
+++ b/src/rev.cpp.in	Wed Jun 04 22:34:45 2008 +0000
@@ -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