summaryrefslogtreecommitdiff
path: root/ttd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ttd.c')
-rw-r--r--ttd.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/ttd.c b/ttd.c
index ea2bffc33..2339337d6 100644
--- a/ttd.c
+++ b/ttd.c
@@ -28,6 +28,11 @@
#include <stdarg.h>
+/* Define the _openttd_revision tag if it is not defined */
+#ifndef WITH_REV
+ const char _openttd_revision[] = "norev000";
+#endif
+
void GameLoop();
void IncreaseSpriteLRU();
@@ -645,7 +650,7 @@ int ttd_main(int argc, char* argv[])
// initialize the ingame console
IConsoleInit();
IConsoleCmdExec("exec scripts/autoexec.scr 0");
-
+
InitPlayerRandoms();
#ifdef ENABLE_NETWORK