From 882a87dd116ad23c3a8726304030fbc5e51502e3 Mon Sep 17 00:00:00 2001 From: ZSaberLv0 Date: Thu, 12 Sep 2024 00:15:02 +0800 Subject: [PATCH] update --- ZFLoader/zfsrc/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {