diff options
author | dominik <dominik@openttd.org> | 2005-01-10 01:14:26 +0000 |
---|---|---|
committer | dominik <dominik@openttd.org> | 2005-01-10 01:14:26 +0000 |
commit | aa261049f4d3c0977555e413ab7d9807c70eef02 (patch) | |
tree | fe347108b7efcb5f55d1b2ad4f319e3710006c27 /ttd.c | |
parent | c77e9231efe6f362f3ddd8d059ee3a5e4d340cc5 (diff) | |
download | openttd-aa261049f4d3c0977555e413ab7d9807c70eef02.tar.xz |
(svn r1453) Feature: MD5 hash check for TTD files
The original TTD files are now checked with a MD5 sum to determine which version of the grf files is used and to warn about possible file corruptions. (Thanks to ledow for the original patch)
Diffstat (limited to 'ttd.c')
-rw-r--r-- | ttd.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -545,6 +545,7 @@ void LoadIntroGame() } extern void DedicatedFork(void); +extern void CheckExternalFiles(); int ttd_main(int argc, char* argv[]) { @@ -638,6 +639,7 @@ int ttd_main(int argc, char* argv[]) } DeterminePaths(); + CheckExternalFiles(); #ifdef UNIX // We must fork here, or we'll end up without some resources we need (like sockets) |