mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-12-07 19:57:48 +00:00
chore: mixed code improvements
This commit is contained in:
@@ -11,7 +11,7 @@ namespace BSP
|
||||
{
|
||||
}
|
||||
|
||||
GameWorldMp* GameWorldMpLinker::linkGameWorldMp(const BSPData& bsp) const
|
||||
GameWorldMp* GameWorldMpLinker::LinkGameWorldMp(const BSPData& bsp) const
|
||||
{
|
||||
GameWorldMp* gameWorldMp = m_memory.Alloc<GameWorldMp>();
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace BSP
|
||||
gameWorldMp->path.nodeTreeCount = 0;
|
||||
|
||||
// The game has 128 empty nodes allocated
|
||||
const auto extraNodeCount = gameWorldMp->path.nodeCount + 128;
|
||||
const auto extraNodeCount = gameWorldMp->path.nodeCount + 128u;
|
||||
gameWorldMp->path.nodes = m_memory.Alloc<pathnode_t>(extraNodeCount);
|
||||
gameWorldMp->path.basenodes = m_memory.Alloc<pathbasenode_t>(extraNodeCount);
|
||||
gameWorldMp->path.pathVis = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user