--- enigma.cc.orig Sat May 18 12:22:36 2002 +++ enigma.cc Sat May 18 12:24:45 2002 @@ -849,7 +849,7 @@ static void game() { - lua::Dofile("levels/index.lua"); + lua::Dofile(enigma::FindDataFile("levels/index.lua")); if (levels.empty()) { cerr << "no levels defined\n"; @@ -965,7 +965,7 @@ // First try a configuration file in the current directory. string fname = "enigma_conf.lua"; try { - lua::Dofile(fname); + lua::Dofile(enigma::FindDataFile(fname)); } catch (lua::Error) { cerr << "Could not load configuration file\n"; }