mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-12 02:01:29 -10:00
The launcher passes the mod folders as relative paths using / as the directory separator. That path is copied into the cf_root path and when cf_create_directory tries to create the directory, mkdir_recursive can't handle the / in the path and tries to create two path elements at once which is not supported by mkdir. These changes fix that by converting mod paths to the native format (from the / format, so it's a No-op on Unix) before using it in cf_create_root().