@@ -149,7 +149,7 @@ void FUnrealEnginePythonModule::StartupModule()
149149 }
150150
151151 if (GConfig->GetString (UTF8_TO_TCHAR (" Python" ), UTF8_TO_TCHAR (" RelativeHome" ), IniValue, GEngineIni)) {
152- IniValue = FPaths::Combine (FPaths::GameContentDir (), IniValue);
152+ IniValue = FPaths::Combine (* FPaths::GameContentDir (), * IniValue);
153153#if PY_MAJOR_VERSION >= 3
154154 wchar_t *home = (wchar_t *)*IniValue;
155155#else
@@ -168,7 +168,7 @@ void FUnrealEnginePythonModule::StartupModule()
168168 }
169169
170170 if (GConfig->GetString (UTF8_TO_TCHAR (" Python" ), UTF8_TO_TCHAR (" RelativeProgramName" ), IniValue, GEngineIni)) {
171- IniValue = FPaths::Combine (FPaths::GameContentDir (), IniValue);
171+ IniValue = FPaths::Combine (* FPaths::GameContentDir (), * IniValue);
172172#if PY_MAJOR_VERSION >= 3
173173 wchar_t *program_name = (wchar_t *)*IniValue;
174174#else
@@ -182,23 +182,23 @@ void FUnrealEnginePythonModule::StartupModule()
182182 }
183183
184184 if (GConfig->GetString (UTF8_TO_TCHAR (" Python" ), UTF8_TO_TCHAR (" RelativeScriptsPath" ), IniValue, GEngineIni)) {
185- ScriptsPath = FPaths::Combine (FPaths::GameContentDir (), IniValue);
185+ ScriptsPath = FPaths::Combine (* FPaths::GameContentDir (), * IniValue);
186186 }
187187
188188 if (GConfig->GetString (UTF8_TO_TCHAR (" Python" ), UTF8_TO_TCHAR (" AdditionalModulesPath" ), IniValue, GEngineIni)) {
189189 AdditionalModulesPath = IniValue;
190190 }
191191
192192 if (GConfig->GetString (UTF8_TO_TCHAR (" Python" ), UTF8_TO_TCHAR (" RelativeAdditionalModulesPath" ), IniValue, GEngineIni)) {
193- AdditionalModulesPath = FPaths::Combine (FPaths::GameContentDir (), IniValue);
193+ AdditionalModulesPath = FPaths::Combine (* FPaths::GameContentDir (), * IniValue);
194194 }
195195
196196 if (GConfig->GetString (UTF8_TO_TCHAR (" Python" ), UTF8_TO_TCHAR (" ZipPath" ), IniValue, GEngineIni)) {
197197 ZipPath = IniValue;
198198}
199199
200200 if (GConfig->GetString (UTF8_TO_TCHAR (" Python" ), UTF8_TO_TCHAR (" RelativeZipPath" ), IniValue, GEngineIni)) {
201- ZipPath = FPaths::Combine (FPaths::GameContentDir (), IniValue);
201+ ZipPath = FPaths::Combine (* FPaths::GameContentDir (), * IniValue);
202202 }
203203
204204 if (ScriptsPath.IsEmpty ()) {
@@ -308,7 +308,7 @@ void FUnrealEnginePythonModule::RunFile(char *filename) {
308308 char *full_path = filename;
309309 if (!FPaths::FileExists (filename))
310310 {
311- full_path = TCHAR_TO_UTF8 (*FPaths::Combine (ScriptsPath, UTF8_TO_TCHAR (filename)));
311+ full_path = TCHAR_TO_UTF8 (*FPaths::Combine (* ScriptsPath, UTF8_TO_TCHAR (filename)));
312312 }
313313#if PY_MAJOR_VERSION >= 3
314314 FILE *fd = nullptr ;
@@ -351,7 +351,7 @@ void FUnrealEnginePythonModule::RunFileSandboxed(char *filename, void (*callback
351351 char *full_path = filename;
352352 if (!FPaths::FileExists (filename))
353353 {
354- full_path = TCHAR_TO_UTF8 (*FPaths::Combine (ScriptsPath, UTF8_TO_TCHAR (filename)));
354+ full_path = TCHAR_TO_UTF8 (*FPaths::Combine (* ScriptsPath, UTF8_TO_TCHAR (filename)));
355355 }
356356
357357 PyThreadState *_main = PyThreadState_Get ();
0 commit comments