GRIFFON: Migrate engine to Path

This commit is contained in:
Le Philousophe 2023-09-17 18:23:42 +02:00 committed by Eugene Sandulenko
parent 8c49d1442e
commit 43cf69c238

View File

@ -52,7 +52,7 @@
namespace Griffon {
GriffonEngine::GriffonEngine(OSystem *syst) : Engine(syst) {
const Common::FSNode gameDataDir(ConfMan.get("path"));
const Common::FSNode gameDataDir(ConfMan.getPath("path"));
SearchMan.addSubDirectoryMatching(gameDataDir, "sound");
_rnd = new Common::RandomSource("griffon");