prtfile: WriteDebugPortals: write .prt files in text mode
TB requires this
This commit is contained in:
parent
b2fdd149bc
commit
4ed4181962
|
|
@ -186,7 +186,7 @@ void WriteDebugPortals(const std::vector<polylib::winding_t> &portals, fs::path
|
|||
{
|
||||
size_t portal_count = portals.size();
|
||||
|
||||
std::ofstream portal_file(name, std::ios_base::binary | std::ios_base::out);
|
||||
std::ofstream portal_file(name, std::ios_base::out);
|
||||
if (!portal_file)
|
||||
FError("Failed to open {}: {}", name, strerror(errno));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue