mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-04 01:34:07 +00:00
Add support for packed clients (#802)
* First iteration of pack reader and interface * Fix memory leak and remove logs * Complete packed asset interface and begin on file loading replacement * Implement proper BinaryIO error * Improve AssetMemoryBuffer for reading and implement more reading * Repair more file loading code and improve how navmeshes are loaded * Missing checks implementation * Revert addition of Manifest class and migration changes * Resolved all feedback.
This commit is contained in:
@@ -43,7 +43,7 @@ dNavMesh::~dNavMesh() {
|
||||
|
||||
void dNavMesh::LoadNavmesh() {
|
||||
|
||||
std::string path = "./res/maps/navmeshes/" + std::to_string(m_ZoneId) + ".bin";
|
||||
std::string path = "./navmeshes/" + std::to_string(m_ZoneId) + ".bin";
|
||||
|
||||
if (!BinaryIO::DoesFileExist(path)) {
|
||||
return;
|
||||
|
Reference in New Issue
Block a user