Skip to content

Commit 839c84d

Browse files
committed
Fix compilation error
1 parent 3263f75 commit 839c84d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Client/loader/MainFunctions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1117,7 +1117,7 @@ int LaunchGame(SString strCmdLine)
11171117
const SString strGTAPath = GetGTAPath();
11181118
const SString strMTASAPath = GetMTASAPath();
11191119
SString strMtaDir = PathJoin(strMTASAPath, "mta");
1120-
SString strGTAEXEPath = GetGameExecutablePath().u8string();
1120+
SString strGTAEXEPath = UTF8FilePath(GetGameExecutablePath());
11211121

11221122
SetDllDirectory(strMtaDir);
11231123
if (!CheckService(CHECK_SERVICE_PRE_CREATE) && !IsUserAdmin())

0 commit comments

Comments
 (0)