Skip to content

Commit

Permalink
fix the map path being a path obj instead of a string for filestream …
Browse files Browse the repository at this point in the history
…init
  • Loading branch information
Astral-C committed Mar 13, 2024
1 parent 255162e commit e5fe1ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DOM/MapDOMNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ bool LMapDOMNode::LoadMap(std::filesystem::path file_path)

//Exclude cvs subdir
if(archive.is_regular_file()){
bStream::CFileStream eventStream(archive.path(), bStream::Endianess::Big, bStream::OpenMode::In);
bStream::CFileStream eventStream(archive.path().string(), bStream::Endianess::Big, bStream::OpenMode::In);
if(!eventArc->Load(&eventStream)) continue;

//Name of the event file were loading, ex 'event48'
Expand Down

0 comments on commit e5fe1ba

Please sign in to comment.