Skip to content

Commit

Permalink
search for files also in data/Data by default
Browse files Browse the repository at this point in the history
  • Loading branch information
lynxlynxlynx committed Jan 11, 2014
1 parent 0d865d8 commit 7df0e2f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gemrb/core/Interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1732,6 +1732,10 @@ int Interface::Init(InterfaceConfig* config)
PathJoin( path, GamePath, GameDataPath, NULL);
gamedata->AddSource(path, "Data", PLUGIN_RESOURCE_CACHEDDIRECTORY);

// accomodating silly installers that create a data/Data/* structure
PathJoin( path, GamePath, GameDataPath, "Data", NULL);
gamedata->AddSource(path, "Data", PLUGIN_RESOURCE_CACHEDDIRECTORY);

//IWD2 movies are on the CD but not in the BIF
char *description = strdup("CD1/data");
for (i = 0; i < MAX_CD; i++) {
Expand Down

0 comments on commit 7df0e2f

Please sign in to comment.