1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-15 20:03:15 +02:00

Fixed data presence check

This commit is contained in:
Ivan Savenko
2014-08-10 10:58:56 +03:00
parent 1e5e02c7df
commit a115406fa3

View File

@@ -304,8 +304,7 @@ int main(int argc, char** argv)
};
if (!testFile("DATA/HELP.TXT", "Heroes III data") ||
!testFile("MODS/VCMI/MOD.JSON", "VCMI mod") ||
!testFile("DATA/StackQueueBgBig.PCX", "VCMI data"))
!testFile("MODS/VCMI/MOD.JSON", "VCMI data"))
exit(1); // These are unrecoverable errors
// these two are optional + some installs have them on CD and not in data directory