mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Recast: fix off-mesh connection user id's when loaded from project files
User id's were never assigned when the off-mesh links were loaded from project files.
This commit is contained in:
parent
1e48d8abd9
commit
af19a2e5b3
@ -273,6 +273,7 @@ bool InputGeom::loadGeomSet(rcContext* ctx, const std::string& filepath)
|
||||
m_offMeshConOrders[m_offMeshConCount] = (unsigned char)order;
|
||||
m_offMeshConAreas[m_offMeshConCount] = (unsigned char)area;
|
||||
m_offMeshConFlags[m_offMeshConCount] = (unsigned short)flags;
|
||||
m_offMeshConId[m_offMeshConCount] = 1000 + m_offMeshConCount;
|
||||
m_offMeshConCount++;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user