mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Recast: assign dtOffMeshConnection::userId
Was never assigned properly.
This commit is contained in:
parent
b042327629
commit
8eaa349dbc
@ -1134,6 +1134,7 @@ bool dtCreateNavMeshData(dtNavMeshCreateParams* params, unsigned char** outData,
|
|||||||
con->poly = (unsigned short)(offMeshPolyBase + n);
|
con->poly = (unsigned short)(offMeshPolyBase + n);
|
||||||
con->side = offMeshConClass[i*2+1];
|
con->side = offMeshConClass[i*2+1];
|
||||||
con->setTraverseType(params->offMeshConJumps[i], params->offMeshConOrders[i]);
|
con->setTraverseType(params->offMeshConJumps[i], params->offMeshConOrders[i]);
|
||||||
|
con->userId = params->offMeshConUserID[i];
|
||||||
#if DT_NAVMESH_SET_VERSION >= 7
|
#if DT_NAVMESH_SET_VERSION >= 7
|
||||||
con->hintIndex = DT_NULL_HINT;
|
con->hintIndex = DT_NULL_HINT;
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user