X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Flibgame%2Fsetup.c;h=f952cab57be96ae62f207eb4958afff2c6652c56;hp=084bb3883182f0dde63b9505be2f3cb4b4689c26;hb=d9b86b7b2ebe0b2be3926656c3bbdcd060ee5811;hpb=a765d70dda7da4500e7005ffa5913e24cd32c0fa diff --git a/src/libgame/setup.c b/src/libgame/setup.c index 084bb388..f952cab5 100644 --- a/src/libgame/setup.c +++ b/src/libgame/setup.c @@ -2134,6 +2134,10 @@ void LoadLevelInfo() LoadLevelInfoFromLevelDir(&leveldir_first, NULL, getUserLevelDir(NULL)); #if 1 + /* after loading all level set information, clone the level directory tree + and remove all level sets without levels (these may still contain artwork + to be offered in the setup menu as "custom artwork", and are therefore + checked for existing artwork in the function "LoadLevelArtworkInfo()") */ leveldir_first_all = leveldir_first; cloneTree(&leveldir_first, leveldir_first_all, TRUE); #endif