qbsp: write .prt files in text mode for TB compatibility
This commit is contained in:
parent
24f79d13bb
commit
e7b20733d3
|
|
@ -204,7 +204,7 @@ static void WritePortalfile(node_t *headnode, portal_state_t &state)
|
|||
fs::path name = qbsp_options.bsp_path;
|
||||
name.replace_extension("prt");
|
||||
|
||||
std::ofstream portalFile(name, std::ios_base::binary | std::ios_base::out);
|
||||
std::ofstream portalFile(name, std::ios_base::out);
|
||||
if (!portalFile)
|
||||
FError("Failed to open {}: {}", name, strerror(errno));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue