1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00

- compile fix for OSX

This commit is contained in:
Ivan Savenko 2013-07-11 20:10:17 +00:00
parent d4ce091d2b
commit 91cd88ba97

View File

@ -210,7 +210,7 @@ int main(int argc, char** argv)
OSX_checkForUpdates();
// Check that game data is prepared. Otherwise run vcmibuilder helper application
FILE* check = fopen((VCMIDirs::get().localPath() + "/game_data_prepared").c_str(), "r");
FILE* check = fopen((VCMIDirs::get().userDataPath() + "/game_data_prepared").c_str(), "r");
if (check == nullptr) {
system("open ./vcmibuilder.app");
return 0;