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 | 49a08e5e38cb00be7da4474b1aead583a234ea3a (patch) | |
tree | fe347108b7efcb5f55d1b2ad4f319e3710006c27 /ttd.c | |
parent | 9419250a22df42caf7a1237afcefaacf378d35da (diff) | |
download | openttd-49a08e5e38cb00be7da4474b1aead583a234ea3a.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) |