From 4ed41819626854bcbddb9ba2389e7b331b5835fb Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Thu, 23 Mar 2023 09:53:33 -0600 Subject: [PATCH] prtfile: WriteDebugPortals: write .prt files in text mode TB requires this --- common/prtfile.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/prtfile.cc b/common/prtfile.cc index 57139437..7aa20147 100644 --- a/common/prtfile.cc +++ b/common/prtfile.cc @@ -186,7 +186,7 @@ void WriteDebugPortals(const std::vector &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));