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