mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
This commit is contained in:
parent
e57294a1c4
commit
1878c92211
@ -512,7 +512,7 @@ void dtPathCorridor::setCorridor(const float* target, const dtPolyRef* path, con
|
|||||||
{
|
{
|
||||||
dtAssert(m_path);
|
dtAssert(m_path);
|
||||||
dtAssert(npath > 0);
|
dtAssert(npath > 0);
|
||||||
dtAssert(npath < m_maxPath);
|
dtAssert(npath <= m_maxPath);
|
||||||
|
|
||||||
dtVcopy(m_target, target);
|
dtVcopy(m_target, target);
|
||||||
memcpy(m_path, path, sizeof(dtPolyRef)*npath);
|
memcpy(m_path, path, sizeof(dtPolyRef)*npath);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user