diff --git a/ZFLoader/zfsrc/main.cpp b/ZFLoader/zfsrc/main.cpp index b5dc66e..1c7b67f 100644 --- a/ZFLoader/zfsrc/main.cpp +++ b/ZFLoader/zfsrc/main.cpp @@ -43,8 +43,8 @@ ZFMAIN_PARAM_DISPATCH(LuaRunner) { const ZFCoreArray &appParams = ZFApp::appParams(); ZFPathInfo pathInfo; if(!ZFPathInfoFromStringT(pathInfo, appParams[0])) { - pathInfo.pathType = ZFPathType_file(); - pathInfo.pathData = appParams[0]; + pathInfo.pathType(ZFPathType_file()); + pathInfo.pathData(appParams[0]); } ZFCoreArray luaParams; for(zfindex i = 1; i < appParams.count(); ++i) {