summaryrefslogtreecommitdiff
path: root/ttd.c
diff options
context:
space:
mode:
authordominik <dominik@openttd.org>2004-12-13 22:13:02 +0000
committerdominik <dominik@openttd.org>2004-12-13 22:13:02 +0000
commit0bb5428b260edf89c13c4ae3438b3416e491bc05 (patch)
treedf6851231a3a11c8edcb40e9a5f23e0d49268d46 /ttd.c
parent0a1e697a292e7ffaafc7e19226adf2383889a4fc (diff)
downloadopenttd-0bb5428b260edf89c13c4ae3438b3416e491bc05.tar.xz
(svn r1077) Implements scripts/autoexec.scr to get executed on game starting (sign_de)
- %! allows to merge alias parameters - \% allows to use % in alias strings - "alias" command now overwrites the old alias list entry
Diffstat (limited to 'ttd.c')
-rw-r--r--ttd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ttd.c b/ttd.c
index cd1785999..ea2bffc33 100644
--- a/ttd.c
+++ b/ttd.c
@@ -644,6 +644,8 @@ int ttd_main(int argc, char* argv[])
// initialize the ingame console
IConsoleInit();
+ IConsoleCmdExec("exec scripts/autoexec.scr 0");
+
InitPlayerRandoms();
#ifdef ENABLE_NETWORK