--- a/QTfrontend/model/MapModel.cpp Sat Nov 17 22:07:17 2012 +0400
+++ b/QTfrontend/model/MapModel.cpp Sat Nov 17 22:45:30 2012 +0400
@@ -62,10 +62,8 @@
// add mission/static maps to lists
foreach (QString map, maps)
{
- mapCfgFile.setFileName(
- datamgr.findFileForRead(QString("Maps/%1/map.cfg").arg(map)));
- mapLuaFile.setFileName(
- datamgr.findFileForRead(QString("Maps/%1/map.lua").arg(map)));
+ mapCfgFile.setFileName(QString("physfs://Maps/%1/map.cfg").arg(map));
+ mapLuaFile.setFileName(QString("physfs://Maps/%1/map.lua").arg(map));
if (mapCfgFile.open(QFile::ReadOnly))