- added default for nosubdir parameter.

This commit is contained in:
Christoph Oelckers 2020-01-12 08:53:11 +01:00
parent 238bbd26c1
commit b57d683938

View file

@ -78,7 +78,7 @@ class FDirectory : public FResourceFile
void AddEntry(const char *fullpath, int size); void AddEntry(const char *fullpath, int size);
public: public:
FDirectory(const char * dirname, bool nosubdirflag); FDirectory(const char * dirname, bool nosubdirflag = false);
bool Open(bool quiet); bool Open(bool quiet);
virtual FResourceLump *GetLump(int no) { return ((unsigned)no < NumLumps)? &Lumps[no] : NULL; } virtual FResourceLump *GetLump(int no) { return ((unsigned)no < NumLumps)? &Lumps[no] : NULL; }
}; };