prtfile: WriteDebugPortals: write .prt files in text mode

TB requires this
This commit is contained in:
Eric Wasylishen 2023-03-23 09:53:33 -06:00
parent b2fdd149bc
commit 4ed4181962
1 changed files with 1 additions and 1 deletions

View File

@ -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));