From e5f7e79d09b4a0a40b0f36b210a8a0895a4ea881 Mon Sep 17 00:00:00 2001 From: Blyron Date: Mon, 30 Sep 2024 17:10:12 +0200 Subject: [PATCH] Revert open type --- .../Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp b/Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp index bfd150329..a1e0e42c0 100644 --- a/Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp +++ b/Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp @@ -435,7 +435,7 @@ std::string ACarlaRecorder::Start(std::string Name, FString MapName, bool Additi std::string Filename = GetRecorderFilename(Name); // binary file - File.open(Filename, std::ios::out); + File.open(Filename, std::ios::binary); if (!File.is_open()) { return "";