This commit is contained in:
Wojtek Figat
2024-10-14 23:35:41 +02:00
parent 7e4d7743a4
commit b957733150
2 changed files with 3 additions and 2 deletions

View File

@@ -10,12 +10,13 @@
#include "FlaxEngine.Gen.h"
#include "Engine/Core/Log.h"
#include "Engine/Core/Collections/Array.h"
#include "Engine/Core/Collections/Dictionary.h"
#include "Engine/Engine/EngineService.h"
#include "Engine/Engine/Time.h"
#include "Engine/Profiler/ProfilerCPU.h"
#include "Engine/Scripting/Scripting.h"
#define NETWORK_PROTOCOL_VERSION 3
#define NETWORK_PROTOCOL_VERSION 4
float NetworkManager::NetworkFPS = 60.0f;
NetworkPeer* NetworkManager::Peer = nullptr;

View File

@@ -80,7 +80,7 @@ namespace
// Determinate a full path of an entry
char full_path[256];
ASSERT(pathLength + strlen(entry->d_name) < ARRAY_COUNT(full_path));
strcpy(full_path, pathStr);
strcpy(full_path, path);
strcat(full_path, "/");
strcat(full_path, entry->d_name);